Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 871005e0eabb47d97d3d16493aacdd6f91021583..1553c1ab86033137fc9d042dc15b11965856b03d 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -4134,13 +4134,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 t0. |
__ lw(t0, MemOperand(sp, 1 * kPointerSize)); |