diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-11-19 12:13:24 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-11-19 17:58:38 +0200 |
| commit | 88e4d2c2918428d55e34cd57c11279ea839c8822 (patch) | |
| tree | c6efece096ff5880788ca52cdcfc75df16ad589a /src/test/codegen/function-arguments.rs | |
| parent | b0812de556d81c17fcbd2613c6752fc4d04927bb (diff) | |
| download | rust-88e4d2c2918428d55e34cd57c11279ea839c8822.tar.gz rust-88e4d2c2918428d55e34cd57c11279ea839c8822.zip | |
rustc_trans: work around i686-pc-windows-msvc byval align LLVM bug.
Diffstat (limited to 'src/test/codegen/function-arguments.rs')
| -rw-r--r-- | src/test/codegen/function-arguments.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/function-arguments.rs b/src/test/codegen/function-arguments.rs index f96c104b265..f8945a6ee8d 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -66,7 +66,7 @@ pub fn mutable_unsafe_borrow(_: &mut UnsafeInner) { pub fn mutable_borrow(_: &mut i32) { } -// CHECK: @indirect_struct(%S* noalias nocapture align 4 dereferenceable(32) %arg0) +// CHECK: @indirect_struct(%S* noalias nocapture dereferenceable(32) %arg0) #[no_mangle] pub fn indirect_struct(_: S) { } @@ -83,7 +83,7 @@ pub fn _box(x: Box<i32>) -> Box<i32> { x } -// CHECK: @struct_return(%S* noalias nocapture sret align 4 dereferenceable(32)) +// CHECK: @struct_return(%S* noalias nocapture sret dereferenceable(32)) #[no_mangle] pub fn struct_return() -> S { S { |
