Fix dumping of counters in d8.

R=hpayer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25334}
This commit is contained in:
Michael Starzinger 2014-11-13 16:39:10 +01:00
parent bf8abc3e1e
commit f5ca5a81e9

View File

@ -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;
}