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

Unified Diff: runtime/vm/flow_graph_optimizer.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
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index 8e51cc26450f43e76d9d7ba878213d1bef33cb93..81bedf98a85eed3f3b561dc7ec159d2ca75645c2 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -126,8 +126,8 @@ void FlowGraphOptimizer::SelectRepresentations() {
GraphEntryInstr* graph_entry = block_order_[0]->AsGraphEntry();
// Visit incoming parameters.
- for (intptr_t i = 0; i < graph_entry->start_env()->values().length(); i++) {
- Value* val = graph_entry->start_env()->values()[i];
+ for (intptr_t i = 0; i < graph_entry->start_env()->Length(); i++) {
+ Value* val = graph_entry->start_env()->ValueAt(i);
InsertConversionsFor(val->definition());
}
@@ -1021,8 +1021,8 @@ void FlowGraphTypePropagator::VisitGraphEntry(GraphEntryInstr* graph_entry) {
return;
}
// Visit incoming parameters.
- for (intptr_t i = 0; i < graph_entry->start_env()->values().length(); i++) {
- Value* val = graph_entry->start_env()->values()[i];
+ for (intptr_t i = 0; i < graph_entry->start_env()->Length(); i++) {
+ Value* val = graph_entry->start_env()->ValueAt(i);
ParameterInstr* param = val->definition()->AsParameter();
if (param != NULL) {
ASSERT(param->index() == i);
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698