Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 7e6043e1e8fc4170da0a7eda8b520b928054e20f..4b34f0309d754f453e154f53cb6dbe0d0f6160ac 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -4397,43 +4397,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. |
- __ Pop(x10); |
- __ Push(x0, x10); |
- |
- // 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, x0); |
-} |
- |
- |
void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { |
// Push the builtins object as the receiver. |
__ Ldr(x10, GlobalObjectMemOperand()); |