Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 0d1ff4f636937d6ec690afca05f1924ad355bd1a..86b781e20a5486957139f378b2976ed025c5c4b1 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -1236,6 +1236,7 @@ void FullCodeGenerator::VisitWithStatement(WithStatement* stmt) { |
PushFunctionArgumentForContextAllocation(); |
__ CallRuntime(Runtime::kPushWithContext, 2); |
StoreToFrameField(StandardFrameConstants::kContextOffset, context_register()); |
+ PrepareForBailoutForId(stmt->EntryId(), NO_REGISTERS); |
Scope* saved_scope = scope(); |
scope_ = stmt->scope(); |