summary refs log tree commit diff
path: root/compiler/rustc_mir/src/dataflow
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2021-03-05 09:32:47 +0000
committerOli Scherer <github35764891676564198441@oli-obk.de>2021-03-05 09:33:01 +0000
commit9a2362e5a96d2469d65a64d7b0b422b48fc2b4ee (patch)
treea29a5df67d3551a7ed74ae41910b26e6a1366cb5 /compiler/rustc_mir/src/dataflow
parentf31481368bb64725bd2741636bf2c5fc4378ec30 (diff)
downloadrust-9a2362e5a96d2469d65a64d7b0b422b48fc2b4ee.tar.gz
rust-9a2362e5a96d2469d65a64d7b0b422b48fc2b4ee.zip
Shrink the size of Rvalue by 16 bytes
Diffstat (limited to 'compiler/rustc_mir/src/dataflow')
-rw-r--r--compiler/rustc_mir/src/dataflow/move_paths/builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_mir/src/dataflow/move_paths/builder.rs b/compiler/rustc_mir/src/dataflow/move_paths/builder.rs
index ee78ff00c9b..67c3b043262 100644
--- a/compiler/rustc_mir/src/dataflow/move_paths/builder.rs
+++ b/compiler/rustc_mir/src/dataflow/move_paths/builder.rs
@@ -329,8 +329,8 @@ impl<'b, 'a, 'tcx> Gatherer<'b, 'a, '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);
             }