Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 5703225f4e0b6f14789ec7e6778aed881e5544af..ef980dc2b9ea26ee2482ba40c078d2e594b0acc0 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1911,6 +1911,10 @@ bool Isolate::Init(Deserializer* des) { |
bootstrapper_->Initialize(create_heap_objects); |
builtins_.SetUp(this, create_heap_objects); |
+ if (FLAG_log_internal_timer_events) { |
+ set_event_logger(Logger::DefaultEventLoggerSentinel); |
+ } |
+ |
// Set default value if not yet set. |
// TODO(yangguo): move this to ResourceConstraints::ConfigureDefaults |
// once ResourceConstraints becomes an argument to the Isolate constructor. |