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

Unified Diff: src/d8.cc

Issue 2854173002: Make in process stack dumping optional. (Closed)
Patch Set: Created 3 years, 8 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
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index a455ac0b1c0f91c9d800da6b935b27f6a63659cd..4ce4835827bf1af3a2de7f1d31795977072f9893 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -2964,7 +2964,8 @@ int Shell::Main(int argc, char* argv[]) {
g_platform = i::FLAG_verify_predictable
? new PredictablePlatform()
: v8::platform::CreateDefaultPlatform(
- 0, v8::platform::IdleTaskSupport::kEnabled);
+ 0, v8::platform::IdleTaskSupport::kEnabled,
+ !i::FLAG_disable_in_process_stack_traces);
platform::tracing::TracingController* tracing_controller;
if (options.trace_enabled) {

Powered by Google App Engine
This is Rietveld 408576698