diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-08-28 17:41:26 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2016-08-28 21:35:54 -0500 |
| commit | bc288a598c018273343f29f6ad609062ce4ac2c7 (patch) | |
| tree | ab9199c282933ab50dbc0223910aa0abe965f238 | |
| parent | 43615a03f31d3c60c4af13a1fe17bd4cf3edad06 (diff) | |
| download | rust-bc288a598c018273343f29f6ad609062ce4ac2c7.tar.gz rust-bc288a598c018273343f29f6ad609062ce4ac2c7.zip | |
cabi: change some more 32s to 64s
| -rw-r--r-- | src/librustc_trans/cabi_mips64.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_trans/cabi_mips64.rs b/src/librustc_trans/cabi_mips64.rs index d3d3f83eac4..e92ef1eaec8 100644 --- a/src/librustc_trans/cabi_mips64.rs +++ b/src/librustc_trans/cabi_mips64.rs @@ -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; |
