Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 433ae920237a80421956b3ce378a01d6c853cb4c..e1b859f4f8e67a3856eaab8fa6fbe6763cc49daf 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -147,7 +147,7 @@ Instruction* InstructionSelector::Emit(Instruction* instr) { |
bool InstructionSelector::IsNextInAssemblyOrder(const BasicBlock* block) const { |
- return current_block_->GetRpoNumber().IsNext(block->GetRpoNumber()); |
+ return current_block_->GetAoNumber().IsNext(block->GetAoNumber()); |
} |