Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 47a086886f1362771b28717e95be9c73172a9f91..8da0e909ea89a2bd065a667d1a0b76daf53fa48d 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -755,6 +755,7 @@ void FullCodeGenerator::VisitVariableDeclaration( |
__ push( |
Immediate(Smi::FromInt(variable->DeclarationPropertyAttributes()))); |
__ CallRuntime(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |
@@ -803,6 +804,7 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
VisitForStackValue(declaration->fun()); |
PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
CallRuntimeWithOperands(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |