Index: src/compiler/move-optimizer.h |
diff --git a/src/compiler/move-optimizer.h b/src/compiler/move-optimizer.h |
index 2fdecf31e95accda0d1f349caa0cc4202b8814c6..aee0c78191bf074d97068967817fab1892f9afc6 100644 |
--- a/src/compiler/move-optimizer.h |
+++ b/src/compiler/move-optimizer.h |
@@ -30,7 +30,7 @@ class MoveOptimizer final { |
void CompressBlock(InstructionBlock* blocke); |
void CompressMoves(MoveOpVector* eliminated, ParallelMove* left, |
ParallelMove* right); |
- Instruction* LastInstruction(InstructionBlock* block); |
+ const Instruction* LastInstruction(const InstructionBlock* block) const; |
void OptimizeMerge(InstructionBlock* block); |
void FinalizeMoves(Instruction* instr); |