| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 6498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6509 case STUB: return "STUB"; | 6509 case STUB: return "STUB"; |
| 6510 case BUILTIN: return "BUILTIN"; | 6510 case BUILTIN: return "BUILTIN"; |
| 6511 case LOAD_IC: return "LOAD_IC"; | 6511 case LOAD_IC: return "LOAD_IC"; |
| 6512 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; | 6512 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; |
| 6513 case KEYED_EXTERNAL_ARRAY_LOAD_IC: return "KEYED_EXTERNAL_ARRAY_LOAD_IC"; | 6513 case KEYED_EXTERNAL_ARRAY_LOAD_IC: return "KEYED_EXTERNAL_ARRAY_LOAD_IC"; |
| 6514 case STORE_IC: return "STORE_IC"; | 6514 case STORE_IC: return "STORE_IC"; |
| 6515 case KEYED_STORE_IC: return "KEYED_STORE_IC"; | 6515 case KEYED_STORE_IC: return "KEYED_STORE_IC"; |
| 6516 case KEYED_EXTERNAL_ARRAY_STORE_IC: return "KEYED_EXTERNAL_ARRAY_STORE_IC"; | 6516 case KEYED_EXTERNAL_ARRAY_STORE_IC: return "KEYED_EXTERNAL_ARRAY_STORE_IC"; |
| 6517 case CALL_IC: return "CALL_IC"; | 6517 case CALL_IC: return "CALL_IC"; |
| 6518 case KEYED_CALL_IC: return "KEYED_CALL_IC"; | 6518 case KEYED_CALL_IC: return "KEYED_CALL_IC"; |
| 6519 case TYPE_RECORDING_UNARY_OP_IC: return "TYPE_RECORDING_UNARY_OP_IC"; |
| 6519 case TYPE_RECORDING_BINARY_OP_IC: return "TYPE_RECORDING_BINARY_OP_IC"; | 6520 case TYPE_RECORDING_BINARY_OP_IC: return "TYPE_RECORDING_BINARY_OP_IC"; |
| 6520 case COMPARE_IC: return "COMPARE_IC"; | 6521 case COMPARE_IC: return "COMPARE_IC"; |
| 6521 } | 6522 } |
| 6522 UNREACHABLE(); | 6523 UNREACHABLE(); |
| 6523 return NULL; | 6524 return NULL; |
| 6524 } | 6525 } |
| 6525 | 6526 |
| 6526 | 6527 |
| 6527 const char* Code::ICState2String(InlineCacheState state) { | 6528 const char* Code::ICState2String(InlineCacheState state) { |
| 6528 switch (state) { | 6529 switch (state) { |
| (...skipping 3894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10423 if (break_point_objects()->IsUndefined()) return 0; | 10424 if (break_point_objects()->IsUndefined()) return 0; |
| 10424 // Single beak point. | 10425 // Single beak point. |
| 10425 if (!break_point_objects()->IsFixedArray()) return 1; | 10426 if (!break_point_objects()->IsFixedArray()) return 1; |
| 10426 // Multiple break points. | 10427 // Multiple break points. |
| 10427 return FixedArray::cast(break_point_objects())->length(); | 10428 return FixedArray::cast(break_point_objects())->length(); |
| 10428 } | 10429 } |
| 10429 #endif | 10430 #endif |
| 10430 | 10431 |
| 10431 | 10432 |
| 10432 } } // namespace v8::internal | 10433 } } // namespace v8::internal |
| OLD | NEW |