Allow nested compile-script histogram scopes.
R=bmeurer@chromium.org BUG=chromium:449959 LOG=N Review URL: https://codereview.chromium.org/822823003 Cr-Commit-Position: refs/heads/master@{#26128}
This commit is contained in:
parent
502407335d
commit
db653e547c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user