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 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1582 tag = Logger::HANDLER_TAG; | 1582 tag = Logger::HANDLER_TAG; |
1583 break; | 1583 break; |
1584 case AbstractCode::KEYED_LOAD_IC: | 1584 case AbstractCode::KEYED_LOAD_IC: |
1585 description = "A keyed load IC from the snapshot"; | 1585 description = "A keyed load IC from the snapshot"; |
1586 tag = Logger::KEYED_LOAD_IC_TAG; | 1586 tag = Logger::KEYED_LOAD_IC_TAG; |
1587 break; | 1587 break; |
1588 case AbstractCode::LOAD_IC: | 1588 case AbstractCode::LOAD_IC: |
1589 description = "A load IC from the snapshot"; | 1589 description = "A load IC from the snapshot"; |
1590 tag = Logger::LOAD_IC_TAG; | 1590 tag = Logger::LOAD_IC_TAG; |
1591 break; | 1591 break; |
| 1592 case AbstractCode::LOAD_GLOBAL_IC: |
| 1593 description = "A load global IC from the snapshot"; |
| 1594 tag = Logger::LOAD_GLOBAL_IC_TAG; |
| 1595 break; |
1592 case AbstractCode::CALL_IC: | 1596 case AbstractCode::CALL_IC: |
1593 description = "A call IC from the snapshot"; | 1597 description = "A call IC from the snapshot"; |
1594 tag = Logger::CALL_IC_TAG; | 1598 tag = Logger::CALL_IC_TAG; |
1595 break; | 1599 break; |
1596 case AbstractCode::STORE_IC: | 1600 case AbstractCode::STORE_IC: |
1597 description = "A store IC from the snapshot"; | 1601 description = "A store IC from the snapshot"; |
1598 tag = Logger::STORE_IC_TAG; | 1602 tag = Logger::STORE_IC_TAG; |
1599 break; | 1603 break; |
1600 case AbstractCode::KEYED_STORE_IC: | 1604 case AbstractCode::KEYED_STORE_IC: |
1601 description = "A keyed store IC from the snapshot"; | 1605 description = "A keyed store IC from the snapshot"; |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1908 removeCodeEventListener(jit_logger_); | 1912 removeCodeEventListener(jit_logger_); |
1909 delete jit_logger_; | 1913 delete jit_logger_; |
1910 jit_logger_ = NULL; | 1914 jit_logger_ = NULL; |
1911 } | 1915 } |
1912 | 1916 |
1913 return log_->Close(); | 1917 return log_->Close(); |
1914 } | 1918 } |
1915 | 1919 |
1916 } // namespace internal | 1920 } // namespace internal |
1917 } // namespace v8 | 1921 } // namespace v8 |
OLD | NEW |