Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 8b4645726dc13509f92655ec5f4d9aa7fbe4691b..21e189fab62aad772e1762c09fea7142e3033a84 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -3190,12 +3190,8 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
// Push constructor on the stack. If it's not a function it's used as |
// receiver for CALL_NON_FUNCTION, otherwise the value on the stack is |
// ignored. |
- if (expr->expression()->IsSuperReference()) { |
- EmitLoadSuperConstructor(expr->expression()->AsSuperReference()); |
- __ Push(result_register()); |
- } else { |
- VisitForStackValue(expr->expression()); |
- } |
+ DCHECK(!expr->expression()->IsSuperReference()); |
+ VisitForStackValue(expr->expression()); |
// Push the arguments ("left-to-right") on the stack. |
ZoneList<Expression*>* args = expr->arguments(); |