]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_build/src/build/matches/test.rs
Shrink the size of Rvalue by 16 bytes
[rust.git] / compiler / rustc_mir_build / src / build / matches / test.rs
index 126fb957a6a9945e2c5ff0c00b7e5cf005fa32cf..ec192b47dee51dc32bef66bdd61c5a74a59d4696 100644 (file)
@@ -335,7 +335,7 @@ fn compare(
         let result = self.temp(bool_ty, source_info.span);
 
         // result = op(left, right)
-        self.cfg.push_assign(block, source_info, result, Rvalue::BinaryOp(op, left, right));
+        self.cfg.push_assign(block, source_info, result, Rvalue::BinaryOp(op, box (left, right)));
 
         // branch based on result
         self.cfg.terminate(