Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index 2ac35d3bcbd2a46a50d994a4a1a68c54a9c2b045..1b261b0c23e706a84de07c3c9fc71646d167538f 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -2287,6 +2287,7 @@ void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
} |
ASSERT(ic_data().num_args_tested() == 1); |
if (!with_checks()) { |
+ ASSERT(ic_data().HasOneTarget()); |
const Function& target = Function::ZoneHandle(ic_data().GetTargetAt(0)); |
compiler->GenerateStaticCall(instance_call()->deopt_id(), |
instance_call()->token_pos(), |