| 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 cdc1424cc5e72a7f63a8efa2db56911971f95311..3d91e68a83d790198d8bb5817e23e8826060002b 100644
|
| --- a/src/compiler/ppc/code-generator-ppc.cc
|
| +++ b/src/compiler/ppc/code-generator-ppc.cc
|
| @@ -1377,11 +1377,7 @@ void CodeGenerator::AssembleReturn() {
|
| __ b(&return_label_);
|
| } else {
|
| __ bind(&return_label_);
|
| - int pop_count = descriptor->IsJSFunctionCall()
|
| - ? static_cast<int>(descriptor->JSParameterCount())
|
| - : (info()->IsStub()
|
| - ? info()->code_stub()->GetStackParameterCount()
|
| - : 0);
|
| + int pop_count = static_cast<int>(descriptor->StackParameterCount());
|
| __ LeaveFrame(StackFrame::MANUAL, pop_count * kPointerSize);
|
| __ Ret();
|
| }
|
|
|