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

Unified Diff: runtime/vm/flow_graph_compiler.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_compiler.cc
===================================================================
--- runtime/vm/flow_graph_compiler.cc (revision 9644)
+++ runtime/vm/flow_graph_compiler.cc (working copy)
@@ -440,6 +440,7 @@
intptr_t cid,
intptr_t token_index,
intptr_t try_index) {
+ ASSERT(!ic_data.IsNull() && (ic_data.NumberOfChecks() > 0));
Label match_found;
for (intptr_t i = 0; i < ic_data.NumberOfChecks(); i++) {
const bool is_last_check = (i == (ic_data.NumberOfChecks() - 1));

Powered by Google App Engine
This is Rietveld 408576698