| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index 00f8bbc83a2256174f24fa746962770494ee5ae0..79779caf395316cd163b3b1f1502bb666ed13fd3 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -259,9 +259,8 @@ void FullCodeGenerator::Generate() {
|
| }
|
|
|
| // Possibly allocate RestParameters
|
| - int rest_index;
|
| - Variable* rest_param = info->scope()->rest_parameter(&rest_index);
|
| - if (rest_param) {
|
| + Variable* rest_param = info->scope()->rest_parameter();
|
| + if (rest_param != nullptr) {
|
| Comment cmnt(masm_, "[ Allocate rest parameter array");
|
| if (!function_in_register_r4) {
|
| __ LoadP(r4, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
|
|
|