Chromium Code Reviews| 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); |