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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 436643002: Faster IC stubs by specializing them for Binary Smi operations (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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_ia32.cc
===================================================================
--- runtime/vm/flow_graph_compiler_ia32.cc (revision 39414)
+++ runtime/vm/flow_graph_compiler_ia32.cc (working copy)
@@ -1482,7 +1482,7 @@
intptr_t token_index,
LocationSummary* locs) {
ASSERT(is_optimizing());
- ASSERT(!ic_data.IsNull() && (ic_data.NumberOfChecks() > 0));
+ ASSERT(!ic_data.IsNull() && (ic_data.NumberOfUsedChecks() > 0));
zra 2014/08/20 20:17:10 Is this change also needed by the other architectu
srdjan 2014/08/21 17:30:21 Done on all architectures.
Label match_found;
const intptr_t len = ic_data.NumberOfChecks();
GrowableArray<CidTarget> sorted(len);

Powered by Google App Engine
This is Rietveld 408576698