| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index 6e6de3370a8d8969e9a4cb4e20c922d504f06f60..beeb66b44277f1fe14667b4c46ba9362ff4540c1 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -2946,9 +2946,7 @@ void CallApiCallbackStub::Generate(MacroAssembler* masm) {
|
| __ push(call_data);
|
|
|
| Register scratch = call_data;
|
| - if (!call_data_undefined()) {
|
| - __ LoadRoot(scratch, Heap::kUndefinedValueRootIndex);
|
| - }
|
| + __ LoadRoot(scratch, Heap::kUndefinedValueRootIndex);
|
| // return value
|
| __ push(scratch);
|
| // return value default
|
|
|