Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index a1c2960b4d70637de8dfaf685d1af06f0e0f281d..5d67e7cf80146ccf63c5b94d92d533597033b014 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -3084,12 +3084,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(); |