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 <stdarg.h> | 5 #include <stdarg.h> |
6 | 6 |
7 #include "v8.h" | 7 #include "v8.h" |
8 | 8 |
9 #include "bootstrapper.h" | 9 #include "bootstrapper.h" |
10 #include "code-stubs.h" | 10 #include "code-stubs.h" |
(...skipping 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1846 tag = Logger::HANDLER_TAG; | 1846 tag = Logger::HANDLER_TAG; |
1847 break; | 1847 break; |
1848 case Code::KEYED_LOAD_IC: | 1848 case Code::KEYED_LOAD_IC: |
1849 description = "A keyed load IC from the snapshot"; | 1849 description = "A keyed load IC from the snapshot"; |
1850 tag = Logger::KEYED_LOAD_IC_TAG; | 1850 tag = Logger::KEYED_LOAD_IC_TAG; |
1851 break; | 1851 break; |
1852 case Code::LOAD_IC: | 1852 case Code::LOAD_IC: |
1853 description = "A load IC from the snapshot"; | 1853 description = "A load IC from the snapshot"; |
1854 tag = Logger::LOAD_IC_TAG; | 1854 tag = Logger::LOAD_IC_TAG; |
1855 break; | 1855 break; |
| 1856 case Code::CALL_IC: |
| 1857 description = "A call IC from the snapshot"; |
| 1858 tag = Logger::CALL_IC_TAG; |
| 1859 break; |
1856 case Code::STORE_IC: | 1860 case Code::STORE_IC: |
1857 description = "A store IC from the snapshot"; | 1861 description = "A store IC from the snapshot"; |
1858 tag = Logger::STORE_IC_TAG; | 1862 tag = Logger::STORE_IC_TAG; |
1859 break; | 1863 break; |
1860 case Code::KEYED_STORE_IC: | 1864 case Code::KEYED_STORE_IC: |
1861 description = "A keyed store IC from the snapshot"; | 1865 description = "A keyed store IC from the snapshot"; |
1862 tag = Logger::KEYED_STORE_IC_TAG; | 1866 tag = Logger::KEYED_STORE_IC_TAG; |
1863 break; | 1867 break; |
1864 case Code::NUMBER_OF_KINDS: | 1868 case Code::NUMBER_OF_KINDS: |
1865 break; | 1869 break; |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2136 if (jit_logger_) { | 2140 if (jit_logger_) { |
2137 removeCodeEventListener(jit_logger_); | 2141 removeCodeEventListener(jit_logger_); |
2138 delete jit_logger_; | 2142 delete jit_logger_; |
2139 jit_logger_ = NULL; | 2143 jit_logger_ = NULL; |
2140 } | 2144 } |
2141 | 2145 |
2142 return log_->Close(); | 2146 return log_->Close(); |
2143 } | 2147 } |
2144 | 2148 |
2145 } } // namespace v8::internal | 2149 } } // namespace v8::internal |
OLD | NEW |