Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: src/compiler.cc

Issue 822823003: Allow nested compile-script histogram scopes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 544b4dd4595d0a07ec6a23a30bdc062882c5c4bc..5f99cb69ad602426b542036cc39bd35fe0c6d536 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -1263,7 +1263,7 @@ 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());
+ HistogramTimerScope total(isolate->counters()->compile_script(), true);
if (compile_options == ScriptCompiler::kNoCompileOptions) {
cached_data = NULL;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698