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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 10800080: Add higher-level accesses to Environment. Print flow graph after register allocation. Most interest… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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_compiler_ia32.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.cc
===================================================================
--- runtime/vm/flow_graph_compiler_x64.cc (revision 9819)
+++ runtime/vm/flow_graph_compiler_x64.cc (working copy)
@@ -42,10 +42,8 @@
Address(RBP, ParsedFunction::kFirstLocalSlotIndex * kWordSize));
const GrowableArray<Value*>& values = deoptimization_env_->values();
- const GrowableArray<Location>* locations = deoptimization_env_->locations();
-
for (intptr_t i = 0; i < values.length(); i++) {
- const Location loc = (*locations)[i];
+ const Location loc = deoptimization_env_->LocationAt(i);
if (loc.IsInvalid()) {
ASSERT(values[i]->IsConstant());
__ PushObject(values[i]->AsConstant()->value());
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698