| 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" |
| (...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1638 tag = Logger::CALL_IC_TAG; | 1638 tag = Logger::CALL_IC_TAG; |
| 1639 break; | 1639 break; |
| 1640 case Code::STORE_IC: | 1640 case Code::STORE_IC: |
| 1641 description = "A store IC from the snapshot"; | 1641 description = "A store IC from the snapshot"; |
| 1642 tag = Logger::STORE_IC_TAG; | 1642 tag = Logger::STORE_IC_TAG; |
| 1643 break; | 1643 break; |
| 1644 case Code::KEYED_STORE_IC: | 1644 case Code::KEYED_STORE_IC: |
| 1645 description = "A keyed store IC from the snapshot"; | 1645 description = "A keyed store IC from the snapshot"; |
| 1646 tag = Logger::KEYED_STORE_IC_TAG; | 1646 tag = Logger::KEYED_STORE_IC_TAG; |
| 1647 break; | 1647 break; |
| 1648 case Code::PLACEHOLDER: | 1648 case Code::WASM_FUNCTION: |
| 1649 description = "A placeholder for linking later code"; | 1649 description = "A wasm function"; |
| 1650 tag = Logger::STUB_TAG; | 1650 tag = Logger::STUB_TAG; |
| 1651 break; | 1651 break; |
| 1652 case Code::NUMBER_OF_KINDS: | 1652 case Code::NUMBER_OF_KINDS: |
| 1653 break; | 1653 break; |
| 1654 } | 1654 } |
| 1655 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description)); | 1655 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description)); |
| 1656 } | 1656 } |
| 1657 | 1657 |
| 1658 | 1658 |
| 1659 void Logger::LogCodeObjects() { | 1659 void Logger::LogCodeObjects() { |
| (...skipping 247 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 |