Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 6033acd3c04bb71dc3c85028d70aff77ffb01ab1..7258c746bfb8ad3d51452e9b6db6d353b1aeea75 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -4723,44 +4723,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 |
- __ lw(at, MemOperand(sp, 0)); |
- __ push(at); |
- __ sw(v0, 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. |
- __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
- context()->DropAndPlug(1, v0); |
-} |
- |
- |
void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { |
// Push the builtins object as the receiver. |
Register receiver = LoadDescriptor::ReceiverRegister(); |