| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index b9dcbfd84d11baf66e5b9f51e3f822510e0ed1d1..8f53c257c68e3c2579ece335c0518a19787a243e 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -4421,11 +4421,7 @@ ClassLiteral* Parser::ParseClassLiteral(const AstRawString* name,
|
| return NULL;
|
| }
|
|
|
| - // Create a block scope which is additionally tagged as class scope; this is
|
| - // important for resolving variable references to the class name in the strong
|
| - // mode.
|
| Scope* block_scope = NewScope(scope_, BLOCK_SCOPE);
|
| - block_scope->tag_as_class_scope();
|
| BlockState block_state(&scope_, block_scope);
|
| scope_->SetLanguageMode(
|
| static_cast<LanguageMode>(scope_->language_mode() | STRICT_BIT));
|
|
|