diff options
| author | Oli Scherer <github35764891676564198441@oli-obk.de> | 2021-03-05 09:32:47 +0000 |
|---|---|---|
| committer | Oli Scherer <github35764891676564198441@oli-obk.de> | 2021-03-05 09:33:01 +0000 |
| commit | 9a2362e5a96d2469d65a64d7b0b422b48fc2b4ee (patch) | |
| tree | a29a5df67d3551a7ed74ae41910b26e6a1366cb5 /compiler/rustc_mir/src/dataflow | |
| parent | f31481368bb64725bd2741636bf2c5fc4378ec30 (diff) | |
| download | rust-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.rs | 4 |
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); } |
