[vm, compiler] Fix double-call with --no_polymorphic_with_deopt.
TEST=dartfuzz
Bug: https://github.com/dart-lang/sdk/issues/55622
Bug: https://github.com/dart-lang/sdk/issues/55623
Change-Id: If841fcfee242b2d2bc3b0c970d42488bfe202fb8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/365868
Reviewed-by: Alexander Markov <alexmarkov@google.com>
diff --git a/runtime/vm/compiler/backend/flow_graph_compiler.cc b/runtime/vm/compiler/backend/flow_graph_compiler.cc
index 56da422..606fcdb 100644
--- a/runtime/vm/compiler/backend/flow_graph_compiler.cc
+++ b/runtime/vm/compiler/backend/flow_graph_compiler.cc
@@ -2077,6 +2077,7 @@
&ok, // Found cid.
deopt_id, source, locs, complete, total_ic_calls,
call->entry_kind());
+ assembler()->Jump(&ok);
assembler()->Bind(&megamorphic);
// Instead of deoptimizing, do a megamorphic call when no matching
// cid found.