| Index: runtime/vm/flow_graph_compiler.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler.cc (revision 22613)
|
| +++ runtime/vm/flow_graph_compiler.cc (working copy)
|
| @@ -341,7 +341,8 @@
|
|
|
| intptr_t FlowGraphCompiler::StackSize() const {
|
| if (is_optimizing_) {
|
| - return block_order_[0]->AsGraphEntry()->spill_slot_count();
|
| + GraphEntryInstr* entry = flow_graph_.graph_entry();
|
| + return entry->fixed_slot_count() + entry->spill_slot_count();
|
| } else {
|
| return parsed_function_.num_stack_locals() +
|
| parsed_function_.num_copied_params();
|
|
|