| Index: src/full-codegen/x64/full-codegen-x64.cc
|
| diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc
|
| index 9512e0e5cfb3d1f0815a2fa2259c28e31ae5d1dd..bdfda31b0d228ea3bc4b41907ecc57052957600e 100644
|
| --- a/src/full-codegen/x64/full-codegen-x64.cc
|
| +++ b/src/full-codegen/x64/full-codegen-x64.cc
|
| @@ -770,6 +770,7 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| }
|
| __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| + PrepareForBailoutForId(proxy->id(), NO_REGISTERS);
|
| break;
|
| }
|
| }
|
| @@ -824,6 +825,7 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| VisitForStackValue(declaration->fun());
|
| PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| CallRuntimeWithOperands(Runtime::kDeclareLookupSlot);
|
| + PrepareForBailoutForId(proxy->id(), NO_REGISTERS);
|
| break;
|
| }
|
| }
|
|
|