| Index: src/arm/builtins-arm.cc
|
| diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc
|
| index 0364b9faa86583ea45fafc08e7c1411df09c9c80..89056df63018cc1d87223628fdd8bbb3f94dde0d 100644
|
| --- a/src/arm/builtins-arm.cc
|
| +++ b/src/arm/builtins-arm.cc
|
| @@ -782,8 +782,6 @@ void Builtins::Generate_JSConstructStubForDerived(MacroAssembler* masm) {
|
| __ sub(r4, r4, Operand(2), SetCC);
|
| __ b(ge, &loop);
|
|
|
| - __ add(r0, r0, Operand(1));
|
| -
|
| // Handle step in.
|
| Label skip_step_in;
|
| ExternalReference debug_step_in_fp =
|
| @@ -812,7 +810,8 @@ void Builtins::Generate_JSConstructStubForDerived(MacroAssembler* masm) {
|
| // r0: result
|
| // sp[0]: number of arguments (smi-tagged)
|
| __ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| - __ ldr(r1, MemOperand(sp, 0));
|
| + // Get arguments count, skipping over new.target.
|
| + __ ldr(r1, MemOperand(sp, kPointerSize));
|
|
|
| // Leave construct frame.
|
| }
|
|
|