Index: runtime/vm/flow_graph_compiler_mips.cc |
diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc |
index 8f51f860778a6485ea54e725328e943ff4765747..18b629bc68f471e3260fdb3198b35f9889c949fb 100644 |
--- a/runtime/vm/flow_graph_compiler_mips.cc |
+++ b/runtime/vm/flow_graph_compiler_mips.cc |
@@ -1317,7 +1317,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()); |
@@ -1335,7 +1336,7 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall( |
} |
__ jalr(T1); |
- 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. |