Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 2e5768a1f03cb727b30683195a82e48242d4d134..8ebe6d9c0bd4284f68b660365eb39e2e1d19a13c 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -3991,13 +3991,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)); |