Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 8e0cc0d48f31d9710912eb4f877fe0eb097360a4..311f293c17525b860a508aad51bf792f67867101 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -4138,13 +4138,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 a4. |
__ ld(a4, MemOperand(sp, 1 * kPointerSize)); |