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 6565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6576 case FUNCTION: return "FUNCTION"; | 6576 case FUNCTION: return "FUNCTION"; |
6577 case OPTIMIZED_FUNCTION: return "OPTIMIZED_FUNCTION"; | 6577 case OPTIMIZED_FUNCTION: return "OPTIMIZED_FUNCTION"; |
6578 case STUB: return "STUB"; | 6578 case STUB: return "STUB"; |
6579 case BUILTIN: return "BUILTIN"; | 6579 case BUILTIN: return "BUILTIN"; |
6580 case LOAD_IC: return "LOAD_IC"; | 6580 case LOAD_IC: return "LOAD_IC"; |
6581 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; | 6581 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; |
6582 case STORE_IC: return "STORE_IC"; | 6582 case STORE_IC: return "STORE_IC"; |
6583 case KEYED_STORE_IC: return "KEYED_STORE_IC"; | 6583 case KEYED_STORE_IC: return "KEYED_STORE_IC"; |
6584 case CALL_IC: return "CALL_IC"; | 6584 case CALL_IC: return "CALL_IC"; |
6585 case KEYED_CALL_IC: return "KEYED_CALL_IC"; | 6585 case KEYED_CALL_IC: return "KEYED_CALL_IC"; |
6586 case TYPE_RECORDING_UNARY_OP_IC: return "TYPE_RECORDING_UNARY_OP_IC"; | 6586 case UNARY_OP_IC: return "UNARY_OP_IC"; |
6587 case TYPE_RECORDING_BINARY_OP_IC: return "TYPE_RECORDING_BINARY_OP_IC"; | 6587 case BINARY_OP_IC: return "BINARY_OP_IC"; |
6588 case COMPARE_IC: return "COMPARE_IC"; | 6588 case COMPARE_IC: return "COMPARE_IC"; |
6589 } | 6589 } |
6590 UNREACHABLE(); | 6590 UNREACHABLE(); |
6591 return NULL; | 6591 return NULL; |
6592 } | 6592 } |
6593 | 6593 |
6594 | 6594 |
6595 const char* Code::ICState2String(InlineCacheState state) { | 6595 const char* Code::ICState2String(InlineCacheState state) { |
6596 switch (state) { | 6596 switch (state) { |
6597 case UNINITIALIZED: return "UNINITIALIZED"; | 6597 case UNINITIALIZED: return "UNINITIALIZED"; |
(...skipping 3896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10494 if (break_point_objects()->IsUndefined()) return 0; | 10494 if (break_point_objects()->IsUndefined()) return 0; |
10495 // Single beak point. | 10495 // Single beak point. |
10496 if (!break_point_objects()->IsFixedArray()) return 1; | 10496 if (!break_point_objects()->IsFixedArray()) return 1; |
10497 // Multiple break points. | 10497 // Multiple break points. |
10498 return FixedArray::cast(break_point_objects())->length(); | 10498 return FixedArray::cast(break_point_objects())->length(); |
10499 } | 10499 } |
10500 #endif | 10500 #endif |
10501 | 10501 |
10502 | 10502 |
10503 } } // namespace v8::internal | 10503 } } // namespace v8::internal |
OLD | NEW |