| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index 700fc420ed972fe6712aa88abcc6edb599034a88..e8c0d50e48e94b28285f70facd9ca19247b2bd3a 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -806,7 +806,6 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| DCHECK(!hole_init);
|
| __ mov(r0, Operand(Smi::FromInt(0))); // Indicates no initial value.
|
| __ Push(r2, r0);
|
| - __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
|
| break;
|
| @@ -864,7 +863,6 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| PushOperand(r2);
|
| // Push initial value for function declaration.
|
| VisitForStackValue(declaration->fun());
|
| - PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| CallRuntimeWithOperands(Runtime::kDeclareLookupSlot);
|
| PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
|
| break;
|
|
|