Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 8d9655549507c523dab0dd8a350c7cb228168186..28ebfc05b9839327fb596ac491514e1b341fe1a9 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -2788,7 +2788,7 @@ int Shell::Main(int argc, char* argv[]) { |
RunShell(isolate); |
} |
- if (i::FLAG_trace_ignition_dispatches && |
+ if (i::FLAG_ignition && i::FLAG_trace_ignition_dispatches && |
i::FLAG_trace_ignition_dispatches_output_file != nullptr) { |
WriteIgnitionDispatchCountersFile(isolate); |
} |