Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index d575be4d12a17a248c84734d671bf1c19f7a3946..a713471ce52a6cee75aaea1b9c68cd5ed74a4371 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -435,8 +435,8 @@ InstructionSequence::InstructionSequence(Zone* instruction_zone, |
BlockStartInstruction* InstructionSequence::GetBlockStart( |
- BasicBlock::RpoNumber rpo) { |
- InstructionBlock* block = InstructionBlockAt(rpo); |
+ BasicBlock::RpoNumber rpo) const { |
+ const InstructionBlock* block = InstructionBlockAt(rpo); |
return BlockStartInstruction::cast(InstructionAt(block->code_start())); |
} |