| 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/v8.h" | 10 #include "src/v8.h" |
| 11 | 11 |
| 12 #include "src/bailout-reason.h" | 12 #include "src/bailout-reason.h" |
| 13 #include "src/base/platform/platform.h" | 13 #include "src/base/platform/platform.h" |
| 14 #include "src/bootstrapper.h" | 14 #include "src/bootstrapper.h" |
| 15 #include "src/code-stubs.h" | 15 #include "src/code-stubs.h" |
| 16 #include "src/cpu-profiler.h" | 16 #include "src/cpu-profiler.h" |
| 17 #include "src/deoptimizer.h" | 17 #include "src/deoptimizer.h" |
| 18 #include "src/global-handles.h" | 18 #include "src/global-handles.h" |
| 19 #include "src/log-inl.h" | 19 #include "src/log-inl.h" |
| 20 #include "src/log-utils.h" | 20 #include "src/log-utils.h" |
| 21 #include "src/macro-assembler.h" | 21 #include "src/macro-assembler.h" |
| 22 #include "src/perf-jit.h" | 22 #include "src/perf-jit.h" |
| 23 #include "src/runtime-profiler.h" | 23 #include "src/runtime-profiler.h" |
| 24 #include "src/serialize.h" | |
| 25 #include "src/string-stream.h" | 24 #include "src/string-stream.h" |
| 26 #include "src/vm-state-inl.h" | 25 #include "src/vm-state-inl.h" |
| 27 | 26 |
| 28 namespace v8 { | 27 namespace v8 { |
| 29 namespace internal { | 28 namespace internal { |
| 30 | 29 |
| 31 | 30 |
| 32 #define DECLARE_EVENT(ignore1, name) name, | 31 #define DECLARE_EVENT(ignore1, name) name, |
| 33 static const char* const kLogEventsNames[Logger::NUMBER_OF_LOG_EVENTS] = { | 32 static const char* const kLogEventsNames[Logger::NUMBER_OF_LOG_EVENTS] = { |
| 34 LOG_EVENTS_AND_TAGS_LIST(DECLARE_EVENT) | 33 LOG_EVENTS_AND_TAGS_LIST(DECLARE_EVENT) |
| (...skipping 1881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1916 if (jit_logger_) { | 1915 if (jit_logger_) { |
| 1917 removeCodeEventListener(jit_logger_); | 1916 removeCodeEventListener(jit_logger_); |
| 1918 delete jit_logger_; | 1917 delete jit_logger_; |
| 1919 jit_logger_ = NULL; | 1918 jit_logger_ = NULL; |
| 1920 } | 1919 } |
| 1921 | 1920 |
| 1922 return log_->Close(); | 1921 return log_->Close(); |
| 1923 } | 1922 } |
| 1924 | 1923 |
| 1925 } } // namespace v8::internal | 1924 } } // namespace v8::internal |
| OLD | NEW |