Chromium Code Reviews| Index: runtime/vm/intermediate_language.cc |
| =================================================================== |
| --- runtime/vm/intermediate_language.cc (revision 25926) |
| +++ runtime/vm/intermediate_language.cc (working copy) |
| @@ -133,6 +133,8 @@ |
| } |
| CompileType* in_type = value()->Type(); |
| const intptr_t cid = unary_checks().GetCidAt(0); |
| + // Performance check: use CheckSmiInstr instead. |
| + ASSERT(cid != kSmiCid); |
| return in_type->is_nullable() && (in_type->ToNullableCid() == cid); |
| } |