| Index: src/ic/ppc/handler-compiler-ppc.cc
|
| diff --git a/src/ic/ppc/handler-compiler-ppc.cc b/src/ic/ppc/handler-compiler-ppc.cc
|
| index 5736c12ffcd03d251fd3c15966d5a8b5e866c737..877e3996e004eb53001c713f1c7b684cc3bfcbdd 100644
|
| --- a/src/ic/ppc/handler-compiler-ppc.cc
|
| +++ b/src/ic/ppc/handler-compiler-ppc.cc
|
| @@ -216,10 +216,8 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall(
|
|
|
| Isolate* isolate = masm->isolate();
|
| Handle<CallHandlerInfo> api_call_info = optimization.api_call_info();
|
| - bool call_data_undefined = false;
|
| // Put call data in place.
|
| if (api_call_info->data()->IsUndefined(isolate)) {
|
| - call_data_undefined = true;
|
| __ LoadRoot(data, Heap::kUndefinedValueRootIndex);
|
| } else {
|
| if (optimization.is_constant_call()) {
|
| @@ -244,8 +242,7 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall(
|
| __ mov(api_function_address, Operand(ref));
|
|
|
| // Jump to stub.
|
| - CallApiCallbackStub stub(isolate, is_store, call_data_undefined,
|
| - !optimization.is_constant_call());
|
| + CallApiCallbackStub stub(isolate, is_store, !optimization.is_constant_call());
|
| __ TailCallStub(&stub);
|
| }
|
|
|
|
|