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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 10876079: Clean up LoadInstanceField and StoreInstanceField. (Closed) Base URL: http://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
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | runtime/vm/intermediate_language_ia32.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
===================================================================
--- runtime/vm/flow_graph_builder.cc (revision 11378)
+++ runtime/vm/flow_graph_builder.cc (working copy)
@@ -1986,7 +1986,7 @@
node->instance()->Visit(&for_instance);
Append(for_instance);
LoadInstanceFieldComp* load = new LoadInstanceFieldComp(
- node->field(), for_instance.value(), NULL); // Can not deoptimize.
+ node->field(), for_instance.value());
ReturnComputation(load);
}
@@ -2009,7 +2009,7 @@
dst_name);
}
StoreInstanceFieldComp* store = new StoreInstanceFieldComp(
- node->field(), for_instance.value(), store_value, NULL);
+ node->field(), for_instance.value(), store_value);
ReturnComputation(store);
}
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | runtime/vm/intermediate_language_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698