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

Unified Diff: src/d8.cc

Issue 721193002: Fix dumping of counters in d8. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index fb24bcce585c802450a500b8b5000c5aa445058b..8b4adf0434e86fe1512e60714d792c08e1c72053 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -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;
}
« 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