Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 0e764bfb692b1dd685d3b5dd2ef62f19c560ee1e..cedaba0331355011d2e9710a86fcd946440e2435 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2282,7 +2282,11 @@ 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())) { |
+ (FLAG_log_code || |
+ FLAG_ll_prof || |
+ FLAG_perf_jit_prof || |
+ FLAG_perf_basic_prof || |
+ logger_->is_logging_code_events())) { |
HandleScope scope(this); |
LOG(this, LogCodeObjects()); |
LOG(this, LogCompiledFunctions()); |