Index: runtime/vm/intermediate_language.h |
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h |
index 76b8df448d0ab1660c8794d74bb4ae037a1f9b01..ba187400f8480085d3da78b1e4439ecc8cdf0244 100644 |
--- a/runtime/vm/intermediate_language.h |
+++ b/runtime/vm/intermediate_language.h |
@@ -2447,8 +2447,10 @@ class ParallelMoveInstr : public Instruction { |
DECLARE_INSTRUCTION(ParallelMove) |
- void AddMove(Location dest, Location src) { |
- moves_.Add(new MoveOperands(dest, src)); |
+ MoveOperands* AddMove(Location dest, Location src) { |
+ MoveOperands* move = new MoveOperands(dest, src); |
+ moves_.Add(move); |
+ return move; |
} |
MoveOperands* MoveOperandsAt(intptr_t index) const { return moves_[index]; } |