diff options
| author | bors <bors@rust-lang.org> | 2021-03-08 08:39:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-08 08:39:24 +0000 |
| commit | 27885a94c6a6c98a0d49af3962f1218adcd6efd2 (patch) | |
| tree | 2dbe6e99e8f9ce6d7e2a203c204e5e3436314e34 /compiler/rustc_codegen_ssa/src | |
| parent | 76c500ec6c36fa8287317d6dc342a64c079301de (diff) | |
| parent | 9a2362e5a96d2469d65a64d7b0b422b48fc2b4ee (diff) | |
| download | rust-27885a94c6a6c98a0d49af3962f1218adcd6efd2.tar.gz rust-27885a94c6a6c98a0d49af3962f1218adcd6efd2.zip | |
Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelix
Test the effect of shrinking the size of Rvalue by 16 bytes r? `@ghost`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/rvalue.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/rvalue.rs b/compiler/rustc_codegen_ssa/src/mir/rvalue.rs index e3a6cabd600..1795710ff53 100644 --- a/compiler/rustc_codegen_ssa/src/mir/rvalue.rs +++ b/compiler/rustc_codegen_ssa/src/mir/rvalue.rs @@ -424,7 +424,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { (bx, operand) } - mir::Rvalue::BinaryOp(op, ref lhs, ref rhs) => { + mir::Rvalue::BinaryOp(op, box (ref lhs, ref rhs)) => { let lhs = self.codegen_operand(&mut bx, lhs); let rhs = self.codegen_operand(&mut bx, rhs); let llresult = match (lhs.val, rhs.val) { @@ -453,7 +453,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { }; (bx, operand) } - mir::Rvalue::CheckedBinaryOp(op, ref lhs, ref rhs) => { + mir::Rvalue::CheckedBinaryOp(op, box (ref lhs, ref rhs)) => { let lhs = self.codegen_operand(&mut bx, lhs); let rhs = self.codegen_operand(&mut bx, rhs); let result = self.codegen_scalar_checked_binop( |
