| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 3f635c70df275ea837606aa81354f6daea36a882..7a23b8e25b5aa8ceaae661a96a999d0d3040605a 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3010,6 +3010,7 @@ Statement* Parser::ParseSwitchStatement(ZoneList<const AstRawString*>* labels,
|
| Block* cases_block =
|
| factory()->NewBlock(NULL, 1, true, RelocInfo::kNoPosition);
|
| Scope* cases_scope = NewScope(scope_, BLOCK_SCOPE);
|
| + cases_scope->SetNonlinear();
|
|
|
| SwitchStatement* switch_statement =
|
| factory()->NewSwitchStatement(labels, switch_pos);
|
|
|