]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir/src/dataflow/move_paths/builder.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / compiler / rustc_mir / src / dataflow / move_paths / builder.rs
index ee78ff00c9b2baa022045ee9a5db2483bbe7fac9..67c3b043262d56dd11a02a542a14902491b6114a 100644 (file)
@@ -329,8 +329,8 @@ fn gather_rvalue(&mut self, rvalue: &Rvalue<'tcx>) {
             | Rvalue::Repeat(ref operand, _)
             | Rvalue::Cast(_, ref operand, _)
             | Rvalue::UnaryOp(_, ref operand) => self.gather_operand(operand),
-            Rvalue::BinaryOp(ref _binop, ref lhs, ref rhs)
-            | Rvalue::CheckedBinaryOp(ref _binop, ref lhs, ref rhs) => {
+            Rvalue::BinaryOp(ref _binop, box (ref lhs, ref rhs))
+            | Rvalue::CheckedBinaryOp(ref _binop, box (ref lhs, ref rhs)) => {
                 self.gather_operand(lhs);
                 self.gather_operand(rhs);
             }