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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 11362210: Restrict immediate operands to smi where only smis are supported. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 14796)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -32,8 +32,7 @@
"Eliminate redundant bounds checks.");
DEFINE_FLAG(int, max_polymorphic_checks, 4,
"Maximum number of polymorphic check, otherwise it is megamorphic.");
-DEFINE_FLAG(bool, remove_redundant_phis, false,
- "Remove redundant phis (disabled as causes incorrect code).");
+DEFINE_FLAG(bool, remove_redundant_phis, true, "Remove redundant phis.");
void FlowGraphOptimizer::ApplyICData() {

Powered by Google App Engine
This is Rietveld 408576698