| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 65f74e35604ce9aa9d27cb821a2a6e6c24996c2f..6f91e1e5cf8261c20670855a08defe8fa090ae15 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -740,10 +740,9 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) {
|
| Breakable nested_statement(this, stmt);
|
| SetStatementPosition(stmt);
|
|
|
| - PrepareForBailoutForId(stmt->EntryId(), NO_REGISTERS);
|
| -
|
| // Keep the switch value on the stack until a case matches.
|
| VisitForStackValue(stmt->tag());
|
| + PrepareForBailoutForId(stmt->EntryId(), NO_REGISTERS);
|
|
|
| ZoneList<CaseClause*>* clauses = stmt->cases();
|
| CaseClause* default_clause = NULL; // Can occur anywhere in the list.
|
|
|