Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index 7ee5a6961415164f718c7b71faf6a00ac803ae77..2150c3cb0d4e29ca105489b70c12bf837b6b4cec 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -329,7 +329,7 @@ static BasicBlock::RpoNumber GetRpo(BasicBlock* block) { |
static BasicBlock::RpoNumber GetLoopEndRpo(const BasicBlock* block) { |
if (!block->IsLoopHeader()) return BasicBlock::RpoNumber::Invalid(); |
- return BasicBlock::RpoNumber::FromInt(block->loop_end()); |
+ return block->loop_end()->GetRpoNumber(); |
} |