Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 0ad8143baf6c97e83ce0ad5383209aeb391e3b85..fe5009131b176c97b704321038a1b80af2a424d3 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1331,7 +1331,7 @@ Handle<SharedFunctionInfo> CompileToplevel(CompilationInfo* info) { |
bool Compiler::Analyze(ParseInfo* info) { |
DCHECK_NOT_NULL(info->literal()); |
if (!Rewriter::Rewrite(info)) return false; |
- DeclarationScope::Analyze(info); |
+ DeclarationScope::Analyze(info, AnalyzeMode::kRegular); |
if (!Renumber(info)) return false; |
DCHECK_NOT_NULL(info->scope()); |
return true; |