| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 6060b3616efe778e4742678675f3669894911d10..82dea3a57531118c17788778ef420283352872f8 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -277,28 +277,6 @@ void FullCodeGenerator::Generate() {
|
| }
|
|
|
|
|
| - // 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.
|
|
|