Skip to content

Commit

Permalink
cabi: change some more 32s to 64s
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Aug 29, 2016
1 parent 43615a0 commit bc288a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_trans/cabi_mips64.rs
Expand Up @@ -124,14 +124,14 @@ fn is_reg_ty(ty: Type) -> bool {

fn padding_ty(ccx: &CrateContext, align: usize, offset: usize) -> Option<Type> {
if ((align - 1 ) & offset) > 0 {
Some(Type::i32(ccx))
Some(Type::i64(ccx))
} else {
None
}
}

fn coerce_to_int(ccx: &CrateContext, size: usize) -> Vec<Type> {
let int_ty = Type::i32(ccx);
let int_ty = Type::i64(ccx);
let mut args = Vec::new();

let mut n = size / 64;
Expand Down

0 comments on commit bc288a5

Please sign in to comment.