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 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1306 tag = Logger::STUB_TAG; | 1306 tag = Logger::STUB_TAG; |
1307 break; | 1307 break; |
1308 case Code::BUILTIN: | 1308 case Code::BUILTIN: |
1309 description = "A builtin from the snapshot"; | 1309 description = "A builtin from the snapshot"; |
1310 tag = Logger::BUILTIN_TAG; | 1310 tag = Logger::BUILTIN_TAG; |
1311 break; | 1311 break; |
1312 case Code::KEYED_LOAD_IC: | 1312 case Code::KEYED_LOAD_IC: |
1313 description = "A keyed load IC from the snapshot"; | 1313 description = "A keyed load IC from the snapshot"; |
1314 tag = Logger::KEYED_LOAD_IC_TAG; | 1314 tag = Logger::KEYED_LOAD_IC_TAG; |
1315 break; | 1315 break; |
| 1316 case Code::KEYED_EXTERNAL_ARRAY_LOAD_IC: |
| 1317 description = "A keyed external array load IC from the snapshot"; |
| 1318 tag = Logger::KEYED_EXTERNAL_ARRAY_LOAD_IC_TAG; |
| 1319 break; |
1316 case Code::LOAD_IC: | 1320 case Code::LOAD_IC: |
1317 description = "A load IC from the snapshot"; | 1321 description = "A load IC from the snapshot"; |
1318 tag = Logger::LOAD_IC_TAG; | 1322 tag = Logger::LOAD_IC_TAG; |
1319 break; | 1323 break; |
1320 case Code::STORE_IC: | 1324 case Code::STORE_IC: |
1321 description = "A store IC from the snapshot"; | 1325 description = "A store IC from the snapshot"; |
1322 tag = Logger::STORE_IC_TAG; | 1326 tag = Logger::STORE_IC_TAG; |
1323 break; | 1327 break; |
1324 case Code::KEYED_STORE_IC: | 1328 case Code::KEYED_STORE_IC: |
1325 description = "A keyed store IC from the snapshot"; | 1329 description = "A keyed store IC from the snapshot"; |
1326 tag = Logger::KEYED_STORE_IC_TAG; | 1330 tag = Logger::KEYED_STORE_IC_TAG; |
1327 break; | 1331 break; |
| 1332 case Code::KEYED_EXTERNAL_ARRAY_STORE_IC: |
| 1333 description = "A keyed external array store IC from the snapshot"; |
| 1334 tag = Logger::KEYED_EXTERNAL_ARRAY_STORE_IC_TAG; |
| 1335 break; |
1328 case Code::CALL_IC: | 1336 case Code::CALL_IC: |
1329 description = "A call IC from the snapshot"; | 1337 description = "A call IC from the snapshot"; |
1330 tag = Logger::CALL_IC_TAG; | 1338 tag = Logger::CALL_IC_TAG; |
1331 break; | 1339 break; |
1332 case Code::KEYED_CALL_IC: | 1340 case Code::KEYED_CALL_IC: |
1333 description = "A keyed call IC from the snapshot"; | 1341 description = "A keyed call IC from the snapshot"; |
1334 tag = Logger::KEYED_CALL_IC_TAG; | 1342 tag = Logger::KEYED_CALL_IC_TAG; |
1335 break; | 1343 break; |
1336 } | 1344 } |
1337 PROFILE(CodeCreateEvent(tag, code_object, description)); | 1345 PROFILE(CodeCreateEvent(tag, code_object, description)); |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 } | 1636 } |
1629 // Otherwise, if the sliding state window computation has not been | 1637 // Otherwise, if the sliding state window computation has not been |
1630 // started we do it now. | 1638 // started we do it now. |
1631 if (sliding_state_window_ == NULL) { | 1639 if (sliding_state_window_ == NULL) { |
1632 sliding_state_window_ = new SlidingStateWindow(); | 1640 sliding_state_window_ = new SlidingStateWindow(); |
1633 } | 1641 } |
1634 #endif | 1642 #endif |
1635 } | 1643 } |
1636 | 1644 |
1637 } } // namespace v8::internal | 1645 } } // namespace v8::internal |
OLD | NEW |