Index: src/scopes.cc |
diff --git a/src/scopes.cc b/src/scopes.cc |
index 466ed9ab637bbf9ccb40eca9ea4d8f12fdfe3cf7..8f821461d16949ceb2151ac55ae4787a4c454ebd 100644 |
--- a/src/scopes.cc |
+++ b/src/scopes.cc |
@@ -258,9 +258,9 @@ Scope* Scope::DeserializeScopeChain(Isolate* isolate, Zone* zone, |
bool Scope::Analyze(ParseInfo* info) { |
- DCHECK(info->function() != NULL); |
+ DCHECK(info->literal() != NULL); |
DCHECK(info->scope() == NULL); |
- Scope* scope = info->function()->scope(); |
+ Scope* scope = info->literal()->scope(); |
Scope* top = scope; |
// Traverse the scope tree up to the first unresolved scope or the global |