OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 6473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6484 case STUB: return "STUB"; | 6484 case STUB: return "STUB"; |
6485 case BUILTIN: return "BUILTIN"; | 6485 case BUILTIN: return "BUILTIN"; |
6486 case LOAD_IC: return "LOAD_IC"; | 6486 case LOAD_IC: return "LOAD_IC"; |
6487 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; | 6487 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; |
6488 case KEYED_EXTERNAL_ARRAY_LOAD_IC: return "KEYED_EXTERNAL_ARRAY_LOAD_IC"; | 6488 case KEYED_EXTERNAL_ARRAY_LOAD_IC: return "KEYED_EXTERNAL_ARRAY_LOAD_IC"; |
6489 case STORE_IC: return "STORE_IC"; | 6489 case STORE_IC: return "STORE_IC"; |
6490 case KEYED_STORE_IC: return "KEYED_STORE_IC"; | 6490 case KEYED_STORE_IC: return "KEYED_STORE_IC"; |
6491 case KEYED_EXTERNAL_ARRAY_STORE_IC: return "KEYED_EXTERNAL_ARRAY_STORE_IC"; | 6491 case KEYED_EXTERNAL_ARRAY_STORE_IC: return "KEYED_EXTERNAL_ARRAY_STORE_IC"; |
6492 case CALL_IC: return "CALL_IC"; | 6492 case CALL_IC: return "CALL_IC"; |
6493 case KEYED_CALL_IC: return "KEYED_CALL_IC"; | 6493 case KEYED_CALL_IC: return "KEYED_CALL_IC"; |
6494 case BINARY_OP_IC: return "BINARY_OP_IC"; | |
6495 case TYPE_RECORDING_BINARY_OP_IC: return "TYPE_RECORDING_BINARY_OP_IC"; | 6494 case TYPE_RECORDING_BINARY_OP_IC: return "TYPE_RECORDING_BINARY_OP_IC"; |
6496 case COMPARE_IC: return "COMPARE_IC"; | 6495 case COMPARE_IC: return "COMPARE_IC"; |
6497 } | 6496 } |
6498 UNREACHABLE(); | 6497 UNREACHABLE(); |
6499 return NULL; | 6498 return NULL; |
6500 } | 6499 } |
6501 | 6500 |
6502 | 6501 |
6503 const char* Code::ICState2String(InlineCacheState state) { | 6502 const char* Code::ICState2String(InlineCacheState state) { |
6504 switch (state) { | 6503 switch (state) { |
(...skipping 3798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10303 if (break_point_objects()->IsUndefined()) return 0; | 10302 if (break_point_objects()->IsUndefined()) return 0; |
10304 // Single beak point. | 10303 // Single beak point. |
10305 if (!break_point_objects()->IsFixedArray()) return 1; | 10304 if (!break_point_objects()->IsFixedArray()) return 1; |
10306 // Multiple break points. | 10305 // Multiple break points. |
10307 return FixedArray::cast(break_point_objects())->length(); | 10306 return FixedArray::cast(break_point_objects())->length(); |
10308 } | 10307 } |
10309 #endif | 10308 #endif |
10310 | 10309 |
10311 | 10310 |
10312 } } // namespace v8::internal | 10311 } } // namespace v8::internal |
OLD | NEW |