Index: runtime/vm/flow_graph_compiler_arm.cc |
diff --git a/runtime/vm/flow_graph_compiler_arm.cc b/runtime/vm/flow_graph_compiler_arm.cc |
index 8d6816a17e990740dff04de56a0074b1ab0fcbad..247537a2ff5353b6235c2df2078a3e74b4a10edf 100644 |
--- a/runtime/vm/flow_graph_compiler_arm.cc |
+++ b/runtime/vm/flow_graph_compiler_arm.cc |
@@ -1309,7 +1309,8 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall( |
intptr_t deopt_id, |
TokenPosition token_pos, |
LocationSummary* locs, |
- intptr_t try_index) { |
+ intptr_t try_index, |
+ intptr_t slow_path_argument_count) { |
const String& name = String::Handle(zone(), ic_data.target_name()); |
const Array& arguments_descriptor = |
Array::ZoneHandle(zone(), ic_data.arguments_descriptor()); |
@@ -1327,7 +1328,7 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall( |
} |
__ blx(R1); |
- RecordSafepoint(locs); |
+ RecordSafepoint(locs, slow_path_argument_count); |
const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id); |
if (FLAG_precompiled_mode) { |
// Megamorphic calls may occur in slow path stubs. |