Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index d7862cd00a89a38aa8f48dc24a8cc3a69b47bc02..7020a11e1773b5068ec748d809d46afd4e537f74 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -4112,13 +4112,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 r4. |
__ ldr(r4, MemOperand(sp, 1 * kPointerSize)); |