Index: runtime/vm/intermediate_language_arm64.cc |
diff --git a/runtime/vm/intermediate_language_arm64.cc b/runtime/vm/intermediate_language_arm64.cc |
index 9b44822fd2d4432e6e2724311c132193c1e64d57..c502b0f6f0a1893af9a0d65a9dceec257cb4acd0 100644 |
--- a/runtime/vm/intermediate_language_arm64.cc |
+++ b/runtime/vm/intermediate_language_arm64.cc |
@@ -2101,7 +2101,8 @@ void InstanceOfInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
ASSERT(locs()->in(0).reg() == R0); // Value. |
ASSERT(locs()->in(1).reg() == R1); // 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() == R0); |
} |