Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index c30d4d44f23f2a6d26bc7f3a784cd42d7d4f7edd..42722191bd5a0cce0c9bdb7d8a909cbd3d30fb2a 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -461,10 +461,7 @@ void CpuProfiler::StartProcessorIfNotStarted() { |
// Enumerate stuff we already have in the heap. |
if (isolate_->heap()->HasBeenSetUp()) { |
if (!FLAG_prof_browser_mode) { |
- bool saved_log_code_flag = FLAG_log_code; |
- FLAG_log_code = true; |
isolate_->logger()->LogCodeObjects(); |
- FLAG_log_code = saved_log_code_flag; |
} |
isolate_->logger()->LogCompiledFunctions(); |
isolate_->logger()->LogAccessorCallbacks(); |