| Index: src/scopes.h
|
| diff --git a/src/scopes.h b/src/scopes.h
|
| index fac8a5622d440d1a4a6db537839d297089d77091..1b43f8e393399e152cb389fb737c56f74f150560 100644
|
| --- a/src/scopes.h
|
| +++ b/src/scopes.h
|
| @@ -280,13 +280,6 @@ class Scope: public ZoneObject {
|
| bool is_block_scope() const { return scope_type_ == BLOCK_SCOPE; }
|
| bool is_with_scope() const { return scope_type_ == WITH_SCOPE; }
|
| bool is_arrow_scope() const { return scope_type_ == ARROW_SCOPE; }
|
| - void tag_as_class_scope() {
|
| - DCHECK(is_block_scope());
|
| - block_scope_is_class_scope_ = true;
|
| - }
|
| - bool is_class_scope() const {
|
| - return is_block_scope() && block_scope_is_class_scope_;
|
| - }
|
| bool is_declaration_scope() const {
|
| return is_eval_scope() || is_function_scope() ||
|
| is_module_scope() || is_script_scope();
|
| @@ -544,8 +537,6 @@ class Scope: public ZoneObject {
|
|
|
| // The scope type.
|
| ScopeType scope_type_;
|
| - // Some block scopes are tagged as class scopes.
|
| - bool block_scope_is_class_scope_;
|
| // If the scope is a function scope, this is the function kind.
|
| FunctionKind function_kind_;
|
|
|
|
|