Index: runtime/vm/intermediate_language_ia32.cc |
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc |
index 2e02c21fcc908d48cb2159a8708c3a2642788088..3f4d4dc225ff9036f24d89e198bcc8dc5f410c2a 100644 |
--- a/runtime/vm/intermediate_language_ia32.cc |
+++ b/runtime/vm/intermediate_language_ia32.cc |
@@ -2128,6 +2128,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, |
@@ -2400,6 +2403,9 @@ class AllocateContextSlowPath : public SlowPathCode { |
compiler->SaveLiveRegisters(locs); |
__ movl(EDX, Immediate(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, |