Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 971de277b8d59304a086f495e90083451e788547..19fe1190adcb1382a0acbdd0f7c8da386ea2661a 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -3144,42 +3144,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 a1 and the formal |
- // parameter count in a0. |
- VisitForAccumulatorValue(args->at(0)); |
- __ mov(a1, v0); |
- __ li(a0, Operand(Smi::FromInt(info_->scope()->num_parameters()))); |
- ArgumentsAccessStub stub(isolate(), ArgumentsAccessStub::READ_ELEMENT); |
- __ CallStub(&stub); |
- context()->Plug(v0); |
-} |
- |
- |
-void FullCodeGenerator::EmitArgumentsLength(CallRuntime* expr) { |
- DCHECK(expr->arguments()->length() == 0); |
- Label exit; |
- // Get the number of formal parameters. |
- __ li(v0, Operand(Smi::FromInt(info_->scope()->num_parameters()))); |
- |
- // Check if the calling frame is an arguments adaptor frame. |
- __ ld(a2, MemOperand(fp, StandardFrameConstants::kCallerFPOffset)); |
- __ ld(a3, MemOperand(a2, StandardFrameConstants::kContextOffset)); |
- __ Branch(&exit, ne, a3, |
- Operand(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR))); |
- |
- // Arguments adaptor case: Read the arguments length from the |
- // adaptor frame. |
- __ ld(v0, MemOperand(a2, ArgumentsAdaptorFrameConstants::kLengthOffset)); |
- |
- __ bind(&exit); |
- context()->Plug(v0); |
-} |
- |
- |
void FullCodeGenerator::EmitClassOf(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |