| Index: src/arm/stub-cache-arm.cc
|
| diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc
|
| index 9ad7d2a0363b3df768abab0162c2a1143488f2ae..cc592ecf1a8e46c184959bab1d93776a40cdf119 100644
|
| --- a/src/arm/stub-cache-arm.cc
|
| +++ b/src/arm/stub-cache-arm.cc
|
| @@ -788,8 +788,7 @@ static void GenerateFastApiCallBody(MacroAssembler* masm,
|
| Register callee = r0;
|
| Register call_data = r4;
|
| Register holder = r2;
|
| - Register api_function_address = r3;
|
| - Register thunk_arg = r1;
|
| + Register api_function_address = r1;
|
|
|
| // Put holder in place.
|
| __ Move(holder, holder_in);
|
| @@ -822,7 +821,6 @@ static void GenerateFastApiCallBody(MacroAssembler* masm,
|
| type,
|
| masm->isolate());
|
| __ mov(api_function_address, Operand(ref));
|
| - __ mov(thunk_arg, Operand(reinterpret_cast<int32_t>(function_address)));
|
|
|
| // Jump to stub.
|
| CallApiFunctionStub stub(restore_context, call_data_undefined, argc);
|
| @@ -1339,10 +1337,8 @@ void LoadStubCompiler::GenerateLoadCallback(
|
| ApiFunction fun(getter_address);
|
| ExternalReference::Type type = ExternalReference::DIRECT_GETTER_CALL;
|
| ExternalReference ref = ExternalReference(&fun, type, isolate());
|
| - Register getter_address_reg = r3;
|
| - Register thunk_last_arg = r2;
|
| + Register getter_address_reg = r2;
|
| __ mov(getter_address_reg, Operand(ref));
|
| - __ mov(thunk_last_arg, Operand(reinterpret_cast<int32_t>(getter_address)));
|
|
|
| Address thunk_address = FUNCTION_ADDR(&InvokeAccessorGetterCallback);
|
| ExternalReference::Type thunk_type =
|
| @@ -1352,7 +1348,6 @@ void LoadStubCompiler::GenerateLoadCallback(
|
| isolate());
|
| __ CallApiFunctionAndReturn(getter_address_reg,
|
| thunk_ref,
|
| - thunk_last_arg,
|
| kStackUnwindSpace,
|
| MemOperand(fp, 6 * kPointerSize),
|
| NULL);
|
|
|