| Index: src/full-codegen/s390/full-codegen-s390.cc
|
| diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc
|
| index 003c9312e43f9818daab1346ffd128af33f3191c..a07c48da941045bc964aafce06e135b0ef4594a6 100644
|
| --- a/src/full-codegen/s390/full-codegen-s390.cc
|
| +++ b/src/full-codegen/s390/full-codegen-s390.cc
|
| @@ -264,9 +264,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_r3) {
|
|
|