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

Unified Diff: src/d8.cc

Issue 1943923002: [Interpreter] Do not write Ignition dispatch counters to file by default. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix spelling. Created 4 years, 7 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 | src/flag-definitions.h » ('j') | 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 287c6a0f7a00f98c3c63f7942a9013ad30ea2626..9466ab7d3a727c2fe12d70ac977df0b0cac57f35 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -2495,7 +2495,8 @@ int Shell::Main(int argc, char* argv[]) {
}
#ifndef V8_SHARED
- if (i::FLAG_ignition && i::FLAG_trace_ignition_dispatches) {
+ if (i::FLAG_ignition && i::FLAG_trace_ignition_dispatches &&
+ i::FLAG_trace_ignition_dispatches_output_file != nullptr) {
WriteIgnitionDispatchCountersFile(isolate);
}
#endif
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698