Index: runtime/vm/intermediate_language.h |
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h |
index 253a52194b6590cc5e98b248df2098a48fd5740f..9009790ca8050f59715c7b65bb82b55cbb36a00f 100644 |
--- a/runtime/vm/intermediate_language.h |
+++ b/runtime/vm/intermediate_language.h |
@@ -2444,8 +2444,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]; } |