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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 10949022: Fix a typo in an input index computation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index 4764f23d1622af8da4a20440f8b58fa822465c90..fc311613061d29ff9f3628b1074c474d16a4aa7d 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -1509,7 +1509,7 @@ void LICM::TryHoistCheckSmiThroughPhi(ForwardInstructionIterator* it,
// Host CheckSmi instruction and make this phi smi one.
Hoist(it, pre_header, current);
- current->SetInputAt(non_smi_input, phi->InputAt(non_smi_input));
+ current->SetInputAt(0, phi->InputAt(non_smi_input));
phi->SetPropagatedCid(kSmiCid);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698