OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1622 tag = Logger::STUB_TAG; | 1622 tag = Logger::STUB_TAG; |
1623 break; | 1623 break; |
1624 case Code::REGEXP: | 1624 case Code::REGEXP: |
1625 description = "Regular expression code"; | 1625 description = "Regular expression code"; |
1626 tag = Logger::REG_EXP_TAG; | 1626 tag = Logger::REG_EXP_TAG; |
1627 break; | 1627 break; |
1628 case Code::BUILTIN: | 1628 case Code::BUILTIN: |
1629 description = "A builtin from the snapshot"; | 1629 description = "A builtin from the snapshot"; |
1630 tag = Logger::BUILTIN_TAG; | 1630 tag = Logger::BUILTIN_TAG; |
1631 break; | 1631 break; |
| 1632 case Code::HANDLER: |
| 1633 description = "An IC handler from the snapshot"; |
| 1634 tag = Logger::HANDLER_TAG; |
| 1635 break; |
1632 case Code::KEYED_LOAD_IC: | 1636 case Code::KEYED_LOAD_IC: |
1633 description = "A keyed load IC from the snapshot"; | 1637 description = "A keyed load IC from the snapshot"; |
1634 tag = Logger::KEYED_LOAD_IC_TAG; | 1638 tag = Logger::KEYED_LOAD_IC_TAG; |
1635 break; | 1639 break; |
1636 case Code::LOAD_IC: | 1640 case Code::LOAD_IC: |
1637 description = "A load IC from the snapshot"; | 1641 description = "A load IC from the snapshot"; |
1638 tag = Logger::LOAD_IC_TAG; | 1642 tag = Logger::LOAD_IC_TAG; |
1639 break; | 1643 break; |
1640 case Code::STORE_IC: | 1644 case Code::STORE_IC: |
1641 description = "A store IC from the snapshot"; | 1645 description = "A store IC from the snapshot"; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1905 if (jit_logger_) { | 1909 if (jit_logger_) { |
1906 removeCodeEventListener(jit_logger_); | 1910 removeCodeEventListener(jit_logger_); |
1907 delete jit_logger_; | 1911 delete jit_logger_; |
1908 jit_logger_ = NULL; | 1912 jit_logger_ = NULL; |
1909 } | 1913 } |
1910 | 1914 |
1911 return log_->Close(); | 1915 return log_->Close(); |
1912 } | 1916 } |
1913 | 1917 |
1914 } } // namespace v8::internal | 1918 } } // namespace v8::internal |
OLD | NEW |