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 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1636 tag = Logger::KEYED_LOAD_IC_TAG; | 1636 tag = Logger::KEYED_LOAD_IC_TAG; |
1637 break; | 1637 break; |
1638 case Code::LOAD_IC: | 1638 case Code::LOAD_IC: |
1639 description = "A load IC from the snapshot"; | 1639 description = "A load IC from the snapshot"; |
1640 tag = Logger::LOAD_IC_TAG; | 1640 tag = Logger::LOAD_IC_TAG; |
1641 break; | 1641 break; |
1642 case Code::CALL_IC: | 1642 case Code::CALL_IC: |
1643 description = "A call IC from the snapshot"; | 1643 description = "A call IC from the snapshot"; |
1644 tag = Logger::CALL_IC_TAG; | 1644 tag = Logger::CALL_IC_TAG; |
1645 break; | 1645 break; |
1646 case Code::CONSTRUCT_IC: | |
1647 description = "A construct IC from the snapshot"; | |
1648 tag = Logger::CONSTRUCT_IC_TAG; | |
1649 break; | |
1650 case Code::STORE_IC: | 1646 case Code::STORE_IC: |
1651 description = "A store IC from the snapshot"; | 1647 description = "A store IC from the snapshot"; |
1652 tag = Logger::STORE_IC_TAG; | 1648 tag = Logger::STORE_IC_TAG; |
1653 break; | 1649 break; |
1654 case Code::KEYED_STORE_IC: | 1650 case Code::KEYED_STORE_IC: |
1655 description = "A keyed store IC from the snapshot"; | 1651 description = "A keyed store IC from the snapshot"; |
1656 tag = Logger::KEYED_STORE_IC_TAG; | 1652 tag = Logger::KEYED_STORE_IC_TAG; |
1657 break; | 1653 break; |
1658 case Code::WASM_FUNCTION: | 1654 case Code::WASM_FUNCTION: |
1659 description = "A wasm function"; | 1655 description = "A wasm function"; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1917 removeCodeEventListener(jit_logger_); | 1913 removeCodeEventListener(jit_logger_); |
1918 delete jit_logger_; | 1914 delete jit_logger_; |
1919 jit_logger_ = NULL; | 1915 jit_logger_ = NULL; |
1920 } | 1916 } |
1921 | 1917 |
1922 return log_->Close(); | 1918 return log_->Close(); |
1923 } | 1919 } |
1924 | 1920 |
1925 } // namespace internal | 1921 } // namespace internal |
1926 } // namespace v8 | 1922 } // namespace v8 |
OLD | NEW |