Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 10825282: Put PushArgument into the environment instead of raw values. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index 2f4741b42ae7661f730eb63cc6043b3fa93048ff..587a09b6abaa930f5796e26ad20367ede01a166a 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -33,7 +33,9 @@ RawDeoptInfo* DeoptimizationStub::CreateDeoptInfo(FlowGraphCompiler* compiler) {
if (deoptimization_env_ == NULL) return DeoptInfo::null();
const intptr_t fixed_parameter_count =
deoptimization_env_->fixed_parameter_count();
- DeoptInfoBuilder builder(compiler->object_table(), fixed_parameter_count);
+ DeoptInfoBuilder builder(compiler->object_table(),
+ compiler->StackSize(),
+ fixed_parameter_count);
const Function& function = compiler->parsed_function().function();
intptr_t slot_ix = 0;

Powered by Google App Engine
This is Rietveld 408576698