| Index: src/ppc/full-codegen-ppc.cc
|
| diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
|
| index 45133617e07c511cda63c8159fbb65a01b0a3adb..f38ee50c1230f5047c4df475035914b6b91563fc 100644
|
| --- a/src/ppc/full-codegen-ppc.cc
|
| +++ b/src/ppc/full-codegen-ppc.cc
|
| @@ -3206,12 +3206,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();
|
|
|