Commit f5ca5a81 authored by Michael Starzinger's avatar Michael Starzinger

Fix dumping of counters in d8.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/721193002

Cr-Commit-Position: refs/heads/master@{#25334}
parent bf8abc3e
......@@ -1746,6 +1746,7 @@ int Shell::Main(int argc, char* argv[]) {
RunShell(isolate);
}
}
OnExit();
#ifndef V8_SHARED
// Dump basic block profiling data.
if (i::BasicBlockProfiler* profiler =
......@@ -1759,8 +1760,6 @@ int Shell::Main(int argc, char* argv[]) {
V8::ShutdownPlatform();
delete platform;
OnExit();
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment