Index: src/ast/scopes.cc |
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
index 41f2ec320beb4d482b7b7ddb17e33d9b745535ad..aaaa6e1df1898ab978912d5a3f203e167c0178e2 100644 |
--- a/src/ast/scopes.cc |
+++ b/src/ast/scopes.cc |
@@ -539,6 +539,8 @@ void DeclarationScope::HoistSloppyBlockFunctions(AstNodeFactory* factory) { |
} |
void DeclarationScope::Analyze(ParseInfo* info, AnalyzeMode mode) { |
+ RuntimeCallTimerScope runtimeTimer(info->isolate(), |
+ &RuntimeCallStats::CompileScopeAnalysis); |
DCHECK(info->literal() != NULL); |
DeclarationScope* scope = info->literal()->scope(); |