| Index: src/full-codegen/x87/full-codegen-x87.cc
|
| diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc
|
| index b8ac90660df9610c3f9f736346fd4fc4ece2188b..e9b313ebfdcd84c012f28d6a688695e41a728fe0 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -271,29 +271,6 @@ void FullCodeGenerator::Generate() {
|
| SetVar(new_target_var, eax, ebx, edx);
|
| }
|
|
|
| -
|
| - // Possibly allocate RestParameters
|
| - int rest_index;
|
| - Variable* rest_param = scope()->rest_parameter(&rest_index);
|
| - if (rest_param) {
|
| - Comment cmnt(masm_, "[ Allocate rest parameter array");
|
| -
|
| - int num_parameters = info->scope()->num_parameters();
|
| - int offset = num_parameters * kPointerSize;
|
| -
|
| - __ lea(edx,
|
| - Operand(ebp, StandardFrameConstants::kCallerSPOffset + offset));
|
| - __ push(edx);
|
| - __ push(Immediate(Smi::FromInt(num_parameters)));
|
| - __ push(Immediate(Smi::FromInt(rest_index)));
|
| - __ push(Immediate(Smi::FromInt(language_mode())));
|
| -
|
| - RestParamAccessStub stub(isolate());
|
| - __ CallStub(&stub);
|
| -
|
| - SetVar(rest_param, eax, ebx, edx);
|
| - }
|
| -
|
| Variable* arguments = scope()->arguments();
|
| if (arguments != NULL) {
|
| // Function uses arguments object.
|
|
|