Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index ce58edc5272d8bdeddb9d31e474bcc73dda5133b..a670cd08e560bb0fbeea6cb2437d3f0c0f1f948d 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -2045,7 +2045,8 @@ void InstanceOfInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
ASSERT(locs()->in(0).reg() == RAX); // Value. |
ASSERT(locs()->in(1).reg() == RDX); // Instantiator type arguments. |
- compiler->GenerateInstanceOf(token_pos(), deopt_id(), type(), locs()); |
+ compiler->GenerateInstanceOf(token_pos(), deopt_id(), type(), negate_result(), |
+ locs()); |
ASSERT(locs()->out(0).reg() == RAX); |
} |