| Index: src/compiler/ppc/code-generator-ppc.cc
|
| diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc
|
| index 5f5adede54265af7ed1353d44213b1ae2321d583..fc9a0394888fea3eaa922ee0281547b2e560e7e9 100644
|
| --- a/src/compiler/ppc/code-generator-ppc.cc
|
| +++ b/src/compiler/ppc/code-generator-ppc.cc
|
| @@ -1012,8 +1012,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| frame_access_state()->ClearSPDelta();
|
| break;
|
| }
|
| - case kArchTailCallJSFunctionFromJSFunction:
|
| - case kArchTailCallJSFunction: {
|
| + case kArchTailCallJSFunctionFromJSFunction: {
|
| Register func = i.InputRegister(0);
|
| if (FLAG_debug_code) {
|
| // Check the function's context matches the context argument.
|
| @@ -1022,11 +1021,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| __ cmp(cp, kScratchReg);
|
| __ Assert(eq, kWrongFunctionContext);
|
| }
|
| - if (opcode == kArchTailCallJSFunctionFromJSFunction) {
|
| - AssemblePopArgumentsAdaptorFrame(kJavaScriptCallArgCountRegister,
|
| - i.TempRegister(0), i.TempRegister(1),
|
| - i.TempRegister(2));
|
| - }
|
| + AssemblePopArgumentsAdaptorFrame(kJavaScriptCallArgCountRegister,
|
| + i.TempRegister(0), i.TempRegister(1),
|
| + i.TempRegister(2));
|
| __ LoadP(ip, FieldMemOperand(func, JSFunction::kCodeEntryOffset));
|
| __ Jump(ip);
|
| DCHECK_EQ(LeaveRC, i.OutputRCBit());
|
|
|