Index: runtime/vm/flow_graph_allocator.cc |
diff --git a/runtime/vm/flow_graph_allocator.cc b/runtime/vm/flow_graph_allocator.cc |
index 69fc5c619d249789208d38832a74a46306a61c7d..8b0dd6453901b3bef73ee1b6a864db1bdfb7941d 100644 |
--- a/runtime/vm/flow_graph_allocator.cc |
+++ b/runtime/vm/flow_graph_allocator.cc |
@@ -825,7 +825,7 @@ void FlowGraphAllocator::ProcessOneInstruction(BlockEntryInstr* block, |
} |
// Block all allocatable registers for calls and record the stack bitmap. |
- if (locs->is_call()) { |
+ if (locs->always_calls()) { |
// Expected shape of live range: |
// |
// i i' |
@@ -854,7 +854,7 @@ void FlowGraphAllocator::ProcessOneInstruction(BlockEntryInstr* block, |
#endif |
} |
- if (locs->contains_call()) { |
+ if (locs->can_call()) { |
safepoints_.Add(current); |
} |