Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 08fe7a78448b6615fb9cadb75f768ca11872861d..3386ce12e5546c95dd13733564a667c40e98c033 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -1591,6 +1591,7 @@ void FullCodeGenerator::VisitClassLiteral(ClassLiteral* lit) { |
__ Push(Smi::FromInt(lit->end_position())); |
__ CallRuntime(Runtime::kDefineClass, 6); |
+ PrepareForBailoutForId(lit->CreateLiteralId(), TOS_REG); |
EmitClassDefineProperties(lit); |
if (lit->scope() != NULL) { |