| 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 <stdarg.h> | 5 #include <stdarg.h> |
| 6 | 6 |
| 7 #include "v8.h" | 7 #include "src/v8.h" |
| 8 | 8 |
| 9 #include "bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "code-stubs.h" | 10 #include "src/code-stubs.h" |
| 11 #include "cpu-profiler.h" | 11 #include "src/cpu-profiler.h" |
| 12 #include "deoptimizer.h" | 12 #include "src/deoptimizer.h" |
| 13 #include "global-handles.h" | 13 #include "src/global-handles.h" |
| 14 #include "log.h" | 14 #include "src/log.h" |
| 15 #include "log-utils.h" | 15 #include "src/log-utils.h" |
| 16 #include "macro-assembler.h" | 16 #include "src/macro-assembler.h" |
| 17 #include "platform.h" | 17 #include "src/platform.h" |
| 18 #include "runtime-profiler.h" | 18 #include "src/runtime-profiler.h" |
| 19 #include "serialize.h" | 19 #include "src/serialize.h" |
| 20 #include "string-stream.h" | 20 #include "src/string-stream.h" |
| 21 #include "vm-state-inl.h" | 21 #include "src/vm-state-inl.h" |
| 22 | 22 |
| 23 namespace v8 { | 23 namespace v8 { |
| 24 namespace internal { | 24 namespace internal { |
| 25 | 25 |
| 26 | 26 |
| 27 #define DECLARE_EVENT(ignore1, name) name, | 27 #define DECLARE_EVENT(ignore1, name) name, |
| 28 static const char* const kLogEventsNames[Logger::NUMBER_OF_LOG_EVENTS] = { | 28 static const char* const kLogEventsNames[Logger::NUMBER_OF_LOG_EVENTS] = { |
| 29 LOG_EVENTS_AND_TAGS_LIST(DECLARE_EVENT) | 29 LOG_EVENTS_AND_TAGS_LIST(DECLARE_EVENT) |
| 30 }; | 30 }; |
| 31 #undef DECLARE_EVENT | 31 #undef DECLARE_EVENT |
| (...skipping 2084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2116 if (jit_logger_) { | 2116 if (jit_logger_) { |
| 2117 removeCodeEventListener(jit_logger_); | 2117 removeCodeEventListener(jit_logger_); |
| 2118 delete jit_logger_; | 2118 delete jit_logger_; |
| 2119 jit_logger_ = NULL; | 2119 jit_logger_ = NULL; |
| 2120 } | 2120 } |
| 2121 | 2121 |
| 2122 return log_->Close(); | 2122 return log_->Close(); |
| 2123 } | 2123 } |
| 2124 | 2124 |
| 2125 } } // namespace v8::internal | 2125 } } // namespace v8::internal |
| OLD | NEW |