| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index 7508c01e4998473eb00ffd20ab7ce4700241e6a3..6b84eb648e91d6c948e77cf8bb38c539f0c69db4 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -3217,12 +3217,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();
|
|
|