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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 10928048: Nested deoptimization environments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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_inliner.cc
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
index 1b4f1897784fd6c11eb13b09ad498ac9680b9cea..76893c0b6092bf4f30189e03c9951c00cb131230 100644
--- a/runtime/vm/flow_graph_inliner.cc
+++ b/runtime/vm/flow_graph_inliner.cc
@@ -103,7 +103,7 @@ class CallSiteInliner : public FlowGraphVisitor {
// Replace all the formal parameters with the actuals.
for (intptr_t i = 0; i < arguments->length(); ++i) {
- Value* val = callee_graph->graph_entry()->start_env()->values()[i];
+ Value* val = callee_graph->graph_entry()->start_env()->ValueAt(i);
ParameterInstr* param = val->definition()->AsParameter();
ASSERT(param != NULL);
param->ReplaceUsesWith((*arguments)[i]->definition());

Powered by Google App Engine
This is Rietveld 408576698