Index: runtime/vm/flow_graph_allocator.cc |
=================================================================== |
--- runtime/vm/flow_graph_allocator.cc (revision 11228) |
+++ runtime/vm/flow_graph_allocator.cc (working copy) |
@@ -1586,7 +1586,7 @@ |
const UsePosition* use = |
allocated->finger()->FirstRegisterBeneficialUse(unallocated->Start()); |
- if ((use != NULL) && ((use->pos() - start) <= 1)) { |
+ if ((use != NULL) && ((ToInstructionStart(use->pos()) - start) <= 1)) { |
// This register is blocked by interval that is used |
// as register in the current instruction and can't |
// be spilled. |