Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 4cae3e65f864719f9dbbd4aa0283dffb56cf5f2a..0136e5ba16c5417c17f452cfbc2c4bd68d7c1ccd 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1264,6 +1264,8 @@ Handle<SharedFunctionInfo> Compiler::CompileScript( |
v8::Extension* extension, ScriptData** cached_data, |
ScriptCompiler::CompileOptions compile_options, NativesFlag natives) { |
Isolate* isolate = source->GetIsolate(); |
+ HistogramTimerScope total(isolate->counters()->compile_script()); |
+ |
if (compile_options == ScriptCompiler::kNoCompileOptions) { |
cached_data = NULL; |
} else if (compile_options == ScriptCompiler::kProduceParserCache || |