| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index e1ca2d1b309d5b4be58bfc8cb98d5c20afcc44a7..f6629e2d9dab35a872d226e2fb05c071eda30e51 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2935,8 +2935,6 @@ void ArgumentsAccessStub::GenerateNewNonStrictSlow(MacroAssembler* masm) {
|
| StandardFrameConstants::kCallerSPOffset));
|
| __ mov(Operand(esp, 2 * kPointerSize), edx);
|
|
|
| - // Try the new space allocation. Start out with computing the size of
|
| - // the arguments object and the elements array.
|
| __ bind(&runtime);
|
| __ TailCallRuntime(Runtime::kNewArgumentsFast, 3, 1);
|
| }
|
| @@ -3139,11 +3137,13 @@ void ArgumentsAccessStub::GenerateNewNonStrictFast(MacroAssembler* masm) {
|
| __ sub(Operand(edx), ebx); // Is there a smarter way to do negative scaling?
|
| __ sub(Operand(edx), ebx);
|
| __ jmp(&arguments_test, Label::kNear);
|
| +
|
| __ bind(&arguments_loop);
|
| __ sub(Operand(edx), Immediate(kPointerSize));
|
| __ mov(eax, Operand(edx, 0));
|
| __ mov(FieldOperand(edi, ebx, times_2, FixedArray::kHeaderSize), eax);
|
| __ add(Operand(ebx), Immediate(Smi::FromInt(1)));
|
| +
|
| __ bind(&arguments_test);
|
| __ cmp(ebx, Operand(ecx));
|
| __ j(less, &arguments_loop, Label::kNear);
|
|
|