]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/mir/visit.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / compiler / rustc_middle / src / mir / visit.rs
index bb8c5f175b8c0cb9304c455217a36b495c4ff148..0fb1ea4c60d82a23cc39318d40ceed4ecff8147e 100644 (file)
@@ -685,8 +685,8 @@ fn super_rvalue(&mut self,
                         self.visit_ty(ty, TyContext::Location(location));
                     }
 
-                    Rvalue::BinaryOp(_bin_op, lhs, rhs)
-                    | Rvalue::CheckedBinaryOp(_bin_op, lhs, rhs) => {
+                    Rvalue::BinaryOp(_bin_op, box(lhs, rhs))
+                    | Rvalue::CheckedBinaryOp(_bin_op, box(lhs, rhs)) => {
                         self.visit_operand(lhs, location);
                         self.visit_operand(rhs, location);
                     }