Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index b3bc71cbe71b72900740a7a15ff016b7f8607f8d..768ce5e2690bbf50515cfa2d25908b058c433227 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -446,7 +446,7 @@ void StubCompiler::GenerateFastApiCall(MacroAssembler* masm, |
__ mov(api_function_address, Immediate(function_address)); |
// Jump to stub. |
- CallApiFunctionStub stub(is_store, call_data_undefined, argc); |
+ CallApiFunctionStub stub(isolate, is_store, call_data_undefined, argc); |
__ TailCallStub(&stub); |
} |
@@ -1033,12 +1033,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())); |
@@ -1087,7 +1089,7 @@ void LoadStubCompiler::GenerateLoadCallback( |
Address function_address = v8::ToCData<Address>(callback->getter()); |
__ mov(getter_address, Immediate(function_address)); |
- CallApiGetterStub stub; |
+ CallApiGetterStub stub(isolate()); |
__ TailCallStub(&stub); |
} |