| 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 <memory> | 8 #include <memory> |
| 9 #include <sstream> | 9 #include <sstream> |
| 10 | 10 |
| (...skipping 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 tag = CodeEventListener::KEYED_LOAD_IC_TAG; | 1429 tag = CodeEventListener::KEYED_LOAD_IC_TAG; |
| 1430 break; | 1430 break; |
| 1431 case AbstractCode::LOAD_IC: | 1431 case AbstractCode::LOAD_IC: |
| 1432 description = "A load IC from the snapshot"; | 1432 description = "A load IC from the snapshot"; |
| 1433 tag = CodeEventListener::LOAD_IC_TAG; | 1433 tag = CodeEventListener::LOAD_IC_TAG; |
| 1434 break; | 1434 break; |
| 1435 case AbstractCode::LOAD_GLOBAL_IC: | 1435 case AbstractCode::LOAD_GLOBAL_IC: |
| 1436 description = "A load global IC from the snapshot"; | 1436 description = "A load global IC from the snapshot"; |
| 1437 tag = Logger::LOAD_GLOBAL_IC_TAG; | 1437 tag = Logger::LOAD_GLOBAL_IC_TAG; |
| 1438 break; | 1438 break; |
| 1439 case AbstractCode::CALL_IC: | |
| 1440 description = "A call IC from the snapshot"; | |
| 1441 tag = CodeEventListener::CALL_IC_TAG; | |
| 1442 break; | |
| 1443 case AbstractCode::STORE_IC: | 1439 case AbstractCode::STORE_IC: |
| 1444 description = "A store IC from the snapshot"; | 1440 description = "A store IC from the snapshot"; |
| 1445 tag = CodeEventListener::STORE_IC_TAG; | 1441 tag = CodeEventListener::STORE_IC_TAG; |
| 1446 break; | 1442 break; |
| 1447 case AbstractCode::KEYED_STORE_IC: | 1443 case AbstractCode::KEYED_STORE_IC: |
| 1448 description = "A keyed store IC from the snapshot"; | 1444 description = "A keyed store IC from the snapshot"; |
| 1449 tag = CodeEventListener::KEYED_STORE_IC_TAG; | 1445 tag = CodeEventListener::KEYED_STORE_IC_TAG; |
| 1450 break; | 1446 break; |
| 1451 case AbstractCode::WASM_FUNCTION: | 1447 case AbstractCode::WASM_FUNCTION: |
| 1452 description = "A Wasm function"; | 1448 description = "A Wasm function"; |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1775 | 1771 |
| 1776 if (profiler_listener_.get() != nullptr) { | 1772 if (profiler_listener_.get() != nullptr) { |
| 1777 removeCodeEventListener(profiler_listener_.get()); | 1773 removeCodeEventListener(profiler_listener_.get()); |
| 1778 } | 1774 } |
| 1779 | 1775 |
| 1780 return log_->Close(); | 1776 return log_->Close(); |
| 1781 } | 1777 } |
| 1782 | 1778 |
| 1783 } // namespace internal | 1779 } // namespace internal |
| 1784 } // namespace v8 | 1780 } // namespace v8 |
| OLD | NEW |