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