Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 59dc9051328c4c0adc5972dde191b221e8bbc850..721fc876bcb013225f8f003ad54fddc7a7556593 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -825,7 +825,7 @@ void StubCompiler::GenerateFastApiCall(MacroAssembler* masm, |
__ li(api_function_address, Operand(ref)); |
// Jump to stub. |
- CallApiFunctionStub stub(is_store, call_data_undefined, argc); |
+ CallApiFunctionStub stub(isolate, is_store, call_data_undefined, argc); |
__ TailCallStub(&stub); |
} |
@@ -1024,12 +1024,14 @@ void LoadStubCompiler::GenerateLoadField(Register reg, |
Representation representation) { |
if (!reg.is(receiver())) __ mov(receiver(), reg); |
if (kind() == Code::LOAD_IC) { |
- LoadFieldStub stub(field.is_inobject(holder), |
+ LoadFieldStub stub(isolate(), |
+ field.is_inobject(holder), |
field.translate(holder), |
representation); |
GenerateTailCall(masm(), stub.GetCode(isolate())); |
} else { |
- KeyedLoadFieldStub stub(field.is_inobject(holder), |
+ KeyedLoadFieldStub stub(isolate(), |
+ field.is_inobject(holder), |
field.translate(holder), |
representation); |
GenerateTailCall(masm(), stub.GetCode(isolate())); |
@@ -1089,7 +1091,7 @@ void LoadStubCompiler::GenerateLoadCallback( |
ExternalReference ref = ExternalReference(&fun, type, isolate()); |
__ li(getter_address_reg, Operand(ref)); |
- CallApiGetterStub stub; |
+ CallApiGetterStub stub(isolate()); |
__ TailCallStub(&stub); |
} |