Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 608aebe69db5913d5d5701ef3757c31b9e239791..174a946e96d1fae33dc5fe2f3fc0a19a7d37253f 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -825,6 +825,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) { |
Comment cmnt(masm_, "[ Case body"); |
CaseClause* clause = clauses->at(i); |
__ bind(clause->body_target()->entry_label()); |
+ PrepareForBailoutForId(clause->EntryId(), NO_REGISTERS); |
VisitStatements(clause->statements()); |
} |