Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 97e779e0605bdfb28e6ee267d036ec1ef42a6518..a57c1d84d62bc8b71a82b6df41c3164c567f4707 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3152,40 +3152,6 @@ void FullCodeGenerator::EmitObjectEquals(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitArguments(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 1); |
- |
- // ArgumentsAccessStub expects the key in edx and the formal |
- // parameter count in r0. |
- VisitForAccumulatorValue(args->at(0)); |
- __ mov(r1, r0); |
- __ mov(r0, Operand(Smi::FromInt(info_->scope()->num_parameters()))); |
- ArgumentsAccessStub stub(isolate(), ArgumentsAccessStub::READ_ELEMENT); |
- __ CallStub(&stub); |
- context()->Plug(r0); |
-} |
- |
- |
-void FullCodeGenerator::EmitArgumentsLength(CallRuntime* expr) { |
- DCHECK(expr->arguments()->length() == 0); |
- |
- // Get the number of formal parameters. |
- __ mov(r0, Operand(Smi::FromInt(info_->scope()->num_parameters()))); |
- |
- // Check if the calling frame is an arguments adaptor frame. |
- __ ldr(r2, MemOperand(fp, StandardFrameConstants::kCallerFPOffset)); |
- __ ldr(r3, MemOperand(r2, StandardFrameConstants::kContextOffset)); |
- __ cmp(r3, Operand(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR))); |
- |
- // Arguments adaptor case: Read the arguments length from the |
- // adaptor frame. |
- __ ldr(r0, MemOperand(r2, ArgumentsAdaptorFrameConstants::kLengthOffset), eq); |
- |
- context()->Plug(r0); |
-} |
- |
- |
void FullCodeGenerator::EmitClassOf(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |