Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index af36f44cc896e2b6dc884b909a096269df6da10e..32845ddb89d761dea699b6d0af499b8f1c9d28aa 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -4706,44 +4706,6 @@ void FullCodeGenerator::EmitDebugIsActive(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitCallSuperWithSpread(CallRuntime* expr) { |
- // Assert: expr === CallRuntime("ReflectConstruct") |
- DCHECK_EQ(1, expr->arguments()->length()); |
- CallRuntime* call = expr->arguments()->at(0)->AsCallRuntime(); |
- |
- ZoneList<Expression*>* args = call->arguments(); |
- DCHECK_EQ(3, args->length()); |
- |
- SuperCallReference* super_call_ref = args->at(0)->AsSuperCallReference(); |
- DCHECK_NOT_NULL(super_call_ref); |
- |
- // Load ReflectConstruct function |
- EmitLoadJSRuntimeFunction(call); |
- |
- // Push the target function under the receiver. |
- __ ldr(ip, MemOperand(sp, 0)); |
- __ push(ip); |
- __ str(r0, MemOperand(sp, kPointerSize)); |
- |
- // Push super constructor |
- EmitLoadSuperConstructor(super_call_ref); |
- __ Push(result_register()); |
- |
- // Push arguments array |
- VisitForStackValue(args->at(1)); |
- |
- // Push NewTarget |
- DCHECK(args->at(2)->IsVariableProxy()); |
- VisitForStackValue(args->at(2)); |
- |
- EmitCallJSRuntimeFunction(call); |
- |
- // Restore context register. |
- __ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
- context()->DropAndPlug(1, r0); |
-} |
- |
- |
void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { |
// Push the builtins object as the receiver. |
Register receiver = LoadDescriptor::ReceiverRegister(); |