Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 0ce982204da664cc030e3a77a20d60462fb633fa..5cca898239b9f34c55ce0c850ea60eddbecd5f39 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -3120,42 +3120,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 r4 and the formal |
- // parameter count in r3. |
- VisitForAccumulatorValue(args->at(0)); |
- __ mr(r4, r3); |
- __ LoadSmiLiteral(r3, Smi::FromInt(info_->scope()->num_parameters())); |
- ArgumentsAccessStub stub(isolate(), ArgumentsAccessStub::READ_ELEMENT); |
- __ CallStub(&stub); |
- context()->Plug(r3); |
-} |
- |
- |
-void FullCodeGenerator::EmitArgumentsLength(CallRuntime* expr) { |
- DCHECK(expr->arguments()->length() == 0); |
- Label exit; |
- // Get the number of formal parameters. |
- __ LoadSmiLiteral(r3, Smi::FromInt(info_->scope()->num_parameters())); |
- |
- // Check if the calling frame is an arguments adaptor frame. |
- __ LoadP(r5, MemOperand(fp, StandardFrameConstants::kCallerFPOffset)); |
- __ LoadP(r6, MemOperand(r5, StandardFrameConstants::kContextOffset)); |
- __ CmpSmiLiteral(r6, Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR), r0); |
- __ bne(&exit); |
- |
- // Arguments adaptor case: Read the arguments length from the |
- // adaptor frame. |
- __ LoadP(r3, MemOperand(r5, ArgumentsAdaptorFrameConstants::kLengthOffset)); |
- |
- __ bind(&exit); |
- context()->Plug(r3); |
-} |
- |
- |
void FullCodeGenerator::EmitClassOf(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |