| 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 7f0b63c905f50f9307e41e39880708e6a55f9918..5111c871467cdf69a90cda78165dd7ecab00a279 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -810,6 +810,7 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| }
|
| __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| + PrepareForBailoutForId(proxy->id(), NO_REGISTERS);
|
| break;
|
| }
|
| }
|
| @@ -867,6 +868,7 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| VisitForStackValue(declaration->fun());
|
| PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| CallRuntimeWithOperands(Runtime::kDeclareLookupSlot);
|
| + PrepareForBailoutForId(proxy->id(), NO_REGISTERS);
|
| break;
|
| }
|
| }
|
|
|