Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 23df7a764dffc7eca6810539c3bd27702e31a2f9..8af4a7ae5fc69a718cfdbf17e3dc3e384574ecba 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -4021,13 +4021,9 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 2); |
- // new.target |
+ // Evaluate new.target and super constructor. |
VisitForStackValue(args->at(0)); |
- |
- // .this_function |
VisitForStackValue(args->at(1)); |
- __ CallRuntime(Runtime::kGetPrototype, 1); |
- __ push(result_register()); |
// Load original constructor into ecx. |
__ mov(ecx, Operand(esp, 1 * kPointerSize)); |