Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index d7db7fdd796f992af23046f25edd4664b9dcc78e..0a713efdacb7370ffed501af813f058b9e0fe555 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -837,6 +837,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()); |
} |