Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index bdab7b1a665ac682c98b13ad2e395792297ce474..6060b3616efe778e4742678675f3669894911d10 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -4637,43 +4637,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 |
- __ push(Operand(esp, 0)); |
- __ mov(Operand(esp, kPointerSize), eax); |
- |
- // 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. |
- __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
- context()->DropAndPlug(1, eax); |
-} |
- |
- |
void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { |
// Push the builtins object as receiver. |
__ mov(eax, GlobalObjectOperand()); |