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

Unified Diff: runtime/vm/flow_graph.cc

Issue 11642003: Create and cache method extraction stub in the ICData. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: ready for review. Created 8 years 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.cc
diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc
index 0ead0a280ec731cea8804166a4277d14c6031487..d57a8ec1b49a67faf687a18c4f802d1ac386cf4a 100644
--- a/runtime/vm/flow_graph.cc
+++ b/runtime/vm/flow_graph.cc
@@ -508,7 +508,7 @@ void FlowGraph::Rename(GrowableArray<PhiInstr*>* live_phis,
GrowableArray<Definition*> env(variable_count());
// Add global constants to the initial definitions.
- ConstantInstr* constant_null =
+ constant_null_ =
AddConstantToInitialDefinitions(Object::ZoneHandle());
// Add parameters to the initial definitions and renaming environment.
@@ -533,7 +533,7 @@ void FlowGraph::Rename(GrowableArray<PhiInstr*>* live_phis,
// Initialize all locals with #null in the renaming environment.
for (intptr_t i = parameter_count(); i < variable_count(); ++i) {
- env.Add(constant_null);
+ env.Add(constant_null());
}
BlockEntryInstr* normal_entry = graph_entry_->SuccessorAt(0);

Powered by Google App Engine
This is Rietveld 408576698