Chromium Code Reviews| Index: runtime/vm/precompiler.cc |
| diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
| index dcf3519c1d8c11322b00e788a3a64fdcbe6c7b7b..afb280423afdfa424a5f7cf194370b9eaa6371a5 100644 |
| --- a/runtime/vm/precompiler.cc |
| +++ b/runtime/vm/precompiler.cc |
| @@ -1932,9 +1932,7 @@ void Precompiler::SwitchICCalls() { |
| if (entry_.IsICData()) { |
| ic_ ^= entry_.raw(); |
| - // SwitchableCalls use single-check ICs. No other kind of IC call is |
| - // generated in precompilation mode. |
| - ASSERT(ic_.NumArgsTested() == 1); |
| + if (ic_.NumArgsTested() != 1) continue; |
|
Florian Schneider
2016/08/12 17:56:29
So we do still use ICs with >1 argument checks?
|
| for (intptr_t j = 0; j < ic_.NumberOfChecks(); j++) { |
| entry_ = ic_.GetTargetOrCodeAt(j); |