| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index e25a0441d8d72abe1058b4b176b61496a49e8e89..1c22a960c64024de6b111b74c517827f4779b21c 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -253,9 +253,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_r1) {
|
| __ ldr(r1, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
|
|
|