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

Unified Diff: runtime/vm/flow_graph.cc

Issue 619903002: Generalize bounds checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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.cc
diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc
index 1964a81e64331ae42df08de622514a56ad02e065..9dfce7b51a91c01041a482f1ec6ad36ae7c2f317 100644
--- a/runtime/vm/flow_graph.cc
+++ b/runtime/vm/flow_graph.cc
@@ -98,6 +98,7 @@ ConstantInstr* FlowGraph::GetConstant(const Object& object) {
constant = new(isolate()) ConstantInstr(
Object::ZoneHandle(isolate(), object.raw()));
constant->set_ssa_temp_index(alloc_ssa_temp_index());
+
AddToInitialDefinitions(constant);
constant_instr_pool_.Insert(constant);
}

Powered by Google App Engine
This is Rietveld 408576698