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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 10704210: Fix problem of excessive attempts to optimize, fix excessive deoptimizations for load/store indexed… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 9644)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -380,12 +380,9 @@
call->set_ic_data(&unary_checks);
instr->set_computation(call);
}
- } else {
- // Mark it for deopt.
- PolymorphicInstanceCallComp* call = new PolymorphicInstanceCallComp(comp);
- call->set_ic_data(&ICData::ZoneHandle());
- instr->set_computation(call);
}
+ // An instance call without ICData should continue calling via IC calls
+ // which should trigger reoptimization of optimized code.
}

Powered by Google App Engine
This is Rietveld 408576698