Chromium Code Reviews| Index: runtime/vm/flow_graph_compiler.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_compiler.cc (revision 22436) |
| +++ runtime/vm/flow_graph_compiler.cc (working copy) |
| @@ -317,7 +317,8 @@ |
| intptr_t FlowGraphCompiler::StackSize() const { |
| if (is_optimizing_) { |
| - return block_order_[0]->AsGraphEntry()->spill_slot_count(); |
| + GraphEntryInstr* entry = block_order_[0]->AsGraphEntry(); |
|
Kevin Millikin (Google)
2013/05/08 11:42:00
Not your code, but I don't like using a property o
Florian Schneider
2013/05/08 17:10:55
Done.
|
| + return entry->fixed_slot_count() + entry->spill_slot_count(); |
| } else { |
| return parsed_function_.num_stack_locals() + |
| parsed_function_.num_copied_params(); |