Index: runtime/vm/flow_graph_compiler.cc |
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc |
index ea64413883067b5b61a5ef0e4ec04ea03728b0d4..df13446e1f0223bf271eaacc929f9d4bce37ef5d 100644 |
--- a/runtime/vm/flow_graph_compiler.cc |
+++ b/runtime/vm/flow_graph_compiler.cc |
@@ -707,7 +707,7 @@ void FrameRegisterAllocator::AllocateRegisters(Instruction* instr) { |
// If this instruction is call spill everything that was not consumed by |
// input locations. |
- if (locs->contains_call() || instr->IsBranch() || instr->IsGoto()) { |
+ if (locs->can_call() || instr->IsBranch() || instr->IsGoto()) { |
Spill(); |
} |