| Index: src/full-codegen/arm64/full-codegen-arm64.cc
|
| diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| index f34b76e2e030fb15a6e4899b030376495e830984..2c139de23c15001d67be0e8daed5aad17e816d37 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -803,7 +803,6 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| DCHECK(!hole_init);
|
| // Pushing 0 (xzr) indicates no initial value.
|
| __ Push(x2, xzr);
|
| - __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
|
| break;
|
| @@ -861,7 +860,6 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| PushOperand(x2);
|
| // Push initial value for function declaration.
|
| VisitForStackValue(declaration->fun());
|
| - PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| CallRuntimeWithOperands(Runtime::kDeclareLookupSlot);
|
| PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
|
| break;
|
|
|