Index: vm/flow_graph_allocator.cc |
=================================================================== |
--- vm/flow_graph_allocator.cc (revision 9281) |
+++ vm/flow_graph_allocator.cc (working copy) |
@@ -66,7 +66,7 @@ |
} |
} |
- Instruction* current = block->StraightLineSuccessor(); |
+ Instruction* current = block->successor(); |
// TODO(vegorov): iterate backwards. |
while ((current != NULL) && !current->IsBlockEntry()) { |
for (intptr_t j = 0; j < current->InputCount(); j++) { |
@@ -79,7 +79,7 @@ |
const intptr_t def = ToVirtualRegister(current); |
if (def >= 0) kill->Add(def); |
- current = current->StraightLineSuccessor(); |
+ current = current->successor(); |
} |
} |