Skip to content

Commit bc288a5

Browse files
author
Jorge Aparicio
committed
cabi: change some more 32s to 64s
1 parent 43615a0 commit bc288a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_trans/cabi_mips64.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ fn is_reg_ty(ty: Type) -> bool {
124124

125125
fn padding_ty(ccx: &CrateContext, align: usize, offset: usize) -> Option<Type> {
126126
if ((align - 1 ) & offset) > 0 {
127-
Some(Type::i32(ccx))
127+
Some(Type::i64(ccx))
128128
} else {
129129
None
130130
}
131131
}
132132

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

137137
let mut n = size / 64;

0 commit comments

Comments
 (0)