| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 950a129499126f0e6f42d58afe7d08ee8571114f..3424ec58d1307c83ea2699564fadfc3dac53b078 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -3097,12 +3097,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();
|
|
|