Index: src/ast/scopes.cc |
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
index e347ba52685fd00d8d3cafc65f4f2d02351fe8ee..1ed8b73aaa44f65a1bc952e3066a1ab47bf6cab2 100644 |
--- a/src/ast/scopes.cc |
+++ b/src/ast/scopes.cc |
@@ -375,7 +375,6 @@ int Scope::num_parameters() const { |
bool Scope::Analyze(ParseInfo* info) { |
DCHECK(info->literal() != NULL); |
- DCHECK(info->scope() == NULL); |
DeclarationScope* scope = info->literal()->scope(); |
DeclarationScope* top = scope; |
@@ -403,7 +402,6 @@ bool Scope::Analyze(ParseInfo* info) { |
scope->CheckZones(); |
#endif |
- info->set_scope(scope); |
return true; |
} |