| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/log.h" | 5 #include "src/log.h" |
| 6 | 6 |
| 7 #include <cstdarg> | 7 #include <cstdarg> |
| 8 #include <sstream> | 8 #include <sstream> |
| 9 | 9 |
| 10 #include "src/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
| 11 #include "src/base/platform/platform.h" | 11 #include "src/base/platform/platform.h" |
| 12 #include "src/bootstrapper.h" | 12 #include "src/bootstrapper.h" |
| 13 #include "src/code-stubs.h" | 13 #include "src/code-stubs.h" |
| 14 #include "src/cpu-profiler.h" | |
| 15 #include "src/deoptimizer.h" | 14 #include "src/deoptimizer.h" |
| 16 #include "src/global-handles.h" | 15 #include "src/global-handles.h" |
| 17 #include "src/log-inl.h" | 16 #include "src/log-inl.h" |
| 18 #include "src/log-utils.h" | 17 #include "src/log-utils.h" |
| 19 #include "src/macro-assembler.h" | 18 #include "src/macro-assembler.h" |
| 19 #include "src/profiler/cpu-profiler.h" |
| 20 #include "src/runtime-profiler.h" | 20 #include "src/runtime-profiler.h" |
| 21 #include "src/string-stream.h" | 21 #include "src/string-stream.h" |
| 22 #include "src/vm-state-inl.h" | 22 #include "src/vm-state-inl.h" |
| 23 | 23 |
| 24 namespace v8 { | 24 namespace v8 { |
| 25 namespace internal { | 25 namespace internal { |
| 26 | 26 |
| 27 | 27 |
| 28 #define DECLARE_EVENT(ignore1, name) name, | 28 #define DECLARE_EVENT(ignore1, name) name, |
| 29 static const char* const kLogEventsNames[Logger::NUMBER_OF_LOG_EVENTS] = { | 29 static const char* const kLogEventsNames[Logger::NUMBER_OF_LOG_EVENTS] = { |
| (...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1907 removeCodeEventListener(jit_logger_); | 1907 removeCodeEventListener(jit_logger_); |
| 1908 delete jit_logger_; | 1908 delete jit_logger_; |
| 1909 jit_logger_ = NULL; | 1909 jit_logger_ = NULL; |
| 1910 } | 1910 } |
| 1911 | 1911 |
| 1912 return log_->Close(); | 1912 return log_->Close(); |
| 1913 } | 1913 } |
| 1914 | 1914 |
| 1915 } // namespace internal | 1915 } // namespace internal |
| 1916 } // namespace v8 | 1916 } // namespace v8 |
| OLD | NEW |