| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 57089fad85dc25abaa994ae3ea84179548858bad..978e8ed8f21bcd7a6bb84fd05c4f2bfbf50c2def 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3002,6 +3002,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);
|
|
|