Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 347f2a74e8aa9bf64fe856091b32335e566db8e7..76bfc9b459923d5f0369ebad873713e1167afb92 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1902,8 +1902,7 @@ bool Isolate::Init(Deserializer* des) { |
// If we are deserializing, log non-function code objects and compiled |
// functions found in the snapshot. |
- if (create_heap_objects && |
- (FLAG_log_code || FLAG_ll_prof || logger_->is_logging_code_events())) { |
+ if (create_heap_objects && (FLAG_log_code || FLAG_ll_prof)) { |
HandleScope scope; |
LOG(this, LogCodeObjects()); |
LOG(this, LogCompiledFunctions()); |