Chromium Code Reviews| Index: runtime/vm/flow_graph_compiler.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_compiler.cc (revision 9677) |
| +++ 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)); |