| Index: runtime/vm/intermediate_language_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_ia32.cc (revision 44874)
|
| +++ runtime/vm/intermediate_language_ia32.cc (working copy)
|
| @@ -5763,7 +5763,9 @@
|
| const Immediate& raw_null =
|
| Immediate(reinterpret_cast<intptr_t>(Object::null()));
|
| __ cmpl(locs()->in(0).reg(), raw_null);
|
| - __ j(EQUAL, deopt);
|
| + ASSERT(DeoptIfNull() || DeoptIfNotNull());
|
| + Condition cond = DeoptIfNull() ? EQUAL : NOT_EQUAL;
|
| + __ j(cond, deopt);
|
| return;
|
| }
|
|
|
|
|