Index: src/ast/scopes.cc |
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
index c7ef42e1b2295442b5be9f26b9a1b5859ca0c532..d21f8bdb74c6348418cd1a95f026b09c4f4bf0cd 100644 |
--- a/src/ast/scopes.cc |
+++ b/src/ast/scopes.cc |
@@ -227,11 +227,6 @@ Scope* Scope::DeserializeScopeChain(Isolate* isolate, Zone* zone, |
current_scope = new (zone) Scope(zone, current_scope, SCRIPT_SCOPE, |
Handle<ScopeInfo>(scope_info), |
script_scope->ast_value_factory_); |
- } else if (context->IsModuleContext()) { |
- ScopeInfo* scope_info = context->module()->scope_info(); |
- current_scope = new (zone) Scope(zone, current_scope, MODULE_SCOPE, |
- Handle<ScopeInfo>(scope_info), |
- script_scope->ast_value_factory_); |
} else if (context->IsFunctionContext()) { |
ScopeInfo* scope_info = context->closure()->shared()->scope_info(); |
current_scope = new (zone) Scope(zone, current_scope, FUNCTION_SCOPE, |