Index: runtime/vm/intermediate_language_mips.cc |
diff --git a/runtime/vm/intermediate_language_mips.cc b/runtime/vm/intermediate_language_mips.cc |
index df32f00e18be6c6d2058d5863eaeb28e29605a32..309198c13da12499e82b4af3151d1211e00d5c05 100644 |
--- a/runtime/vm/intermediate_language_mips.cc |
+++ b/runtime/vm/intermediate_language_mips.cc |
@@ -2246,6 +2246,9 @@ void CreateArrayInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
} |
__ Bind(&slow_path); |
+ const Code& stub = Code::Handle(compiler->isolate(), |
+ StubCode::AllocateArray_entry()->code()); |
+ compiler->AddStubCallTarget(stub); |
compiler->GenerateCall(token_pos(), |
*StubCode::AllocateArray_entry(), |
RawPcDescriptors::kOther, |
@@ -2495,6 +2498,9 @@ class AllocateContextSlowPath : public SlowPathCode { |
compiler->SaveLiveRegisters(locs); |
__ LoadImmediate(T1, instruction_->num_context_variables()); |
+ const Code& stub = Code::Handle(compiler->isolate(), |
+ StubCode::AllocateContext_entry()->code()); |
+ compiler->AddStubCallTarget(stub); |
compiler->GenerateCall(instruction_->token_pos(), |
*StubCode::AllocateContext_entry(), |
RawPcDescriptors::kOther, |