Index: runtime/vm/intermediate_language_dbc.cc |
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc |
index 5ca2dafd75cb1223616c5dd0e144142531ddc630..7e63b630dd9d1e05908a36a5003b14370c593283 100644 |
--- a/runtime/vm/intermediate_language_dbc.cc |
+++ b/runtime/vm/intermediate_language_dbc.cc |
@@ -201,7 +201,7 @@ EMIT_NATIVE_CODE(InstanceOf, |
__ PushConstant(type()); |
__ PushConstant(test_cache); |
- __ InstanceOf(); |
+ __ InstanceOf(negate_result() ? 1 : 0); |
compiler->AddCurrentDescriptor(RawPcDescriptors::kOther, deopt_id(), |
token_pos()); |
compiler->RecordAfterCall(this, FlowGraphCompiler::kHasResult); |