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

Unified Diff: runtime/vm/flow_graph_type_propagator.cc

Issue 12316065: Set instruction/use_index when adding an input to an IL instruction. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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_type_propagator.cc
diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
index 75fbb906541bcd1908c628eb544ee4c5cf1a2dd5..76b0b7c5078bc59d6fd5bdbc90cc9f7a5ebbc8b7 100644
--- a/runtime/vm/flow_graph_type_propagator.cc
+++ b/runtime/vm/flow_graph_type_propagator.cc
@@ -288,8 +288,6 @@ void FlowGraphTypePropagator::StrengthenAssertWith(Instruction* check) {
ASSERT(assert->deopt_id() == assert->env()->deopt_id());
Value* use = check_clone->InputAt(0);
- use->set_instruction(check_clone);
- use->set_use_index(0);
use->definition()->AddInputUse(use);
assert->env()->DeepCopyTo(check_clone);

Powered by Google App Engine
This is Rietveld 408576698