| Index: src/arm/lithium-codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-codegen-arm.cc (revision 11126)
|
| +++ src/arm/lithium-codegen-arm.cc (working copy)
|
| @@ -2764,20 +2764,16 @@
|
| Register scratch = scratch0();
|
| Register result = ToRegister(instr->result());
|
|
|
| - if (instr->from_inlined()) {
|
| - __ add(result, sp, Operand(-2 * kPointerSize));
|
| - } else {
|
| - // Check if the calling frame is an arguments adaptor frame.
|
| - Label done, adapted;
|
| - __ ldr(scratch, MemOperand(fp, StandardFrameConstants::kCallerFPOffset));
|
| - __ ldr(result, MemOperand(scratch, StandardFrameConstants::kContextOffset));
|
| - __ cmp(result, Operand(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)));
|
| + // Check if the calling frame is an arguments adaptor frame.
|
| + Label done, adapted;
|
| + __ ldr(scratch, MemOperand(fp, StandardFrameConstants::kCallerFPOffset));
|
| + __ ldr(result, MemOperand(scratch, StandardFrameConstants::kContextOffset));
|
| + __ cmp(result, Operand(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)));
|
|
|
| - // Result is the frame pointer for the frame if not adapted and for the real
|
| - // frame below the adaptor frame if adapted.
|
| - __ mov(result, fp, LeaveCC, ne);
|
| - __ mov(result, scratch, LeaveCC, eq);
|
| - }
|
| + // Result is the frame pointer for the frame if not adapted and for the real
|
| + // frame below the adaptor frame if adapted.
|
| + __ mov(result, fp, LeaveCC, ne);
|
| + __ mov(result, scratch, LeaveCC, eq);
|
| }
|
|
|
|
|
| @@ -2911,11 +2907,6 @@
|
| }
|
|
|
|
|
| -void LCodeGen::DoPop(LPop* instr) {
|
| - __ Drop(instr->count());
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoThisFunction(LThisFunction* instr) {
|
| Register result = ToRegister(instr->result());
|
| __ LoadHeapObject(result, instr->hydrogen()->closure());
|
|
|