| Index: src/scopes.cc
|
| diff --git a/src/scopes.cc b/src/scopes.cc
|
| index d7362c0ec3fe6c5edf4161ecbd02a01b5893fcfe..63925869ebdc7bc44cdd62a5185dbb1e6451c226 100644
|
| --- a/src/scopes.cc
|
| +++ b/src/scopes.cc
|
| @@ -309,7 +309,6 @@ void Scope::Initialize(bool subclass_constructor) {
|
| // invoking scripts
|
| if (is_declaration_scope()) {
|
| DCHECK(!subclass_constructor || is_function_scope());
|
| - DCHECK(FLAG_experimental_classes || !subclass_constructor);
|
| Variable* var = variables_.Declare(
|
| this, ast_value_factory_->this_string(),
|
| subclass_constructor ? CONST : VAR, false, Variable::THIS,
|
|
|