OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 tag = Logger::STUB_TAG; | 1290 tag = Logger::STUB_TAG; |
1291 break; | 1291 break; |
1292 case Code::BUILTIN: | 1292 case Code::BUILTIN: |
1293 description = "A builtin from the snapshot"; | 1293 description = "A builtin from the snapshot"; |
1294 tag = Logger::BUILTIN_TAG; | 1294 tag = Logger::BUILTIN_TAG; |
1295 break; | 1295 break; |
1296 case Code::KEYED_LOAD_IC: | 1296 case Code::KEYED_LOAD_IC: |
1297 description = "A keyed load IC from the snapshot"; | 1297 description = "A keyed load IC from the snapshot"; |
1298 tag = Logger::KEYED_LOAD_IC_TAG; | 1298 tag = Logger::KEYED_LOAD_IC_TAG; |
1299 break; | 1299 break; |
| 1300 case Code::KEYED_EXTERNAL_ARRAY_LOAD_IC: |
| 1301 description = "A keyed external array load IC from the snapshot"; |
| 1302 tag = Logger::KEYED_EXTERNAL_ARRAY_LOAD_IC_TAG; |
| 1303 break; |
1300 case Code::LOAD_IC: | 1304 case Code::LOAD_IC: |
1301 description = "A load IC from the snapshot"; | 1305 description = "A load IC from the snapshot"; |
1302 tag = Logger::LOAD_IC_TAG; | 1306 tag = Logger::LOAD_IC_TAG; |
1303 break; | 1307 break; |
1304 case Code::STORE_IC: | 1308 case Code::STORE_IC: |
1305 description = "A store IC from the snapshot"; | 1309 description = "A store IC from the snapshot"; |
1306 tag = Logger::STORE_IC_TAG; | 1310 tag = Logger::STORE_IC_TAG; |
1307 break; | 1311 break; |
1308 case Code::KEYED_STORE_IC: | 1312 case Code::KEYED_STORE_IC: |
1309 description = "A keyed store IC from the snapshot"; | 1313 description = "A keyed store IC from the snapshot"; |
1310 tag = Logger::KEYED_STORE_IC_TAG; | 1314 tag = Logger::KEYED_STORE_IC_TAG; |
1311 break; | 1315 break; |
| 1316 case Code::KEYED_EXTERNAL_ARRAY_STORE_IC: |
| 1317 description = "A keyed external array store IC from the snapshot"; |
| 1318 tag = Logger::KEYED_EXTERNAL_ARRAY_STORE_IC_TAG; |
| 1319 break; |
1312 case Code::CALL_IC: | 1320 case Code::CALL_IC: |
1313 description = "A call IC from the snapshot"; | 1321 description = "A call IC from the snapshot"; |
1314 tag = Logger::CALL_IC_TAG; | 1322 tag = Logger::CALL_IC_TAG; |
1315 break; | 1323 break; |
1316 case Code::KEYED_CALL_IC: | 1324 case Code::KEYED_CALL_IC: |
1317 description = "A keyed call IC from the snapshot"; | 1325 description = "A keyed call IC from the snapshot"; |
1318 tag = Logger::KEYED_CALL_IC_TAG; | 1326 tag = Logger::KEYED_CALL_IC_TAG; |
1319 break; | 1327 break; |
1320 } | 1328 } |
1321 PROFILE(CodeCreateEvent(tag, code_object, description)); | 1329 PROFILE(CodeCreateEvent(tag, code_object, description)); |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 } | 1607 } |
1600 // Otherwise, if the sliding state window computation has not been | 1608 // Otherwise, if the sliding state window computation has not been |
1601 // started we do it now. | 1609 // started we do it now. |
1602 if (sliding_state_window_ == NULL) { | 1610 if (sliding_state_window_ == NULL) { |
1603 sliding_state_window_ = new SlidingStateWindow(); | 1611 sliding_state_window_ = new SlidingStateWindow(); |
1604 } | 1612 } |
1605 #endif | 1613 #endif |
1606 } | 1614 } |
1607 | 1615 |
1608 } } // namespace v8::internal | 1616 } } // namespace v8::internal |
OLD | NEW |