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 7191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7202 case BUILTIN: return "BUILTIN"; | 7202 case BUILTIN: return "BUILTIN"; |
7203 case LOAD_IC: return "LOAD_IC"; | 7203 case LOAD_IC: return "LOAD_IC"; |
7204 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; | 7204 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; |
7205 case STORE_IC: return "STORE_IC"; | 7205 case STORE_IC: return "STORE_IC"; |
7206 case KEYED_STORE_IC: return "KEYED_STORE_IC"; | 7206 case KEYED_STORE_IC: return "KEYED_STORE_IC"; |
7207 case CALL_IC: return "CALL_IC"; | 7207 case CALL_IC: return "CALL_IC"; |
7208 case KEYED_CALL_IC: return "KEYED_CALL_IC"; | 7208 case KEYED_CALL_IC: return "KEYED_CALL_IC"; |
7209 case UNARY_OP_IC: return "UNARY_OP_IC"; | 7209 case UNARY_OP_IC: return "UNARY_OP_IC"; |
7210 case BINARY_OP_IC: return "BINARY_OP_IC"; | 7210 case BINARY_OP_IC: return "BINARY_OP_IC"; |
7211 case COMPARE_IC: return "COMPARE_IC"; | 7211 case COMPARE_IC: return "COMPARE_IC"; |
| 7212 case TO_BOOLEAN_IC: return "TO_BOOLEAN_IC"; |
7212 } | 7213 } |
7213 UNREACHABLE(); | 7214 UNREACHABLE(); |
7214 return NULL; | 7215 return NULL; |
7215 } | 7216 } |
7216 | 7217 |
7217 | 7218 |
7218 const char* Code::ICState2String(InlineCacheState state) { | 7219 const char* Code::ICState2String(InlineCacheState state) { |
7219 switch (state) { | 7220 switch (state) { |
7220 case UNINITIALIZED: return "UNINITIALIZED"; | 7221 case UNINITIALIZED: return "UNINITIALIZED"; |
7221 case PREMONOMORPHIC: return "PREMONOMORPHIC"; | 7222 case PREMONOMORPHIC: return "PREMONOMORPHIC"; |
(...skipping 4622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11844 if (break_point_objects()->IsUndefined()) return 0; | 11845 if (break_point_objects()->IsUndefined()) return 0; |
11845 // Single beak point. | 11846 // Single beak point. |
11846 if (!break_point_objects()->IsFixedArray()) return 1; | 11847 if (!break_point_objects()->IsFixedArray()) return 1; |
11847 // Multiple break points. | 11848 // Multiple break points. |
11848 return FixedArray::cast(break_point_objects())->length(); | 11849 return FixedArray::cast(break_point_objects())->length(); |
11849 } | 11850 } |
11850 #endif | 11851 #endif |
11851 | 11852 |
11852 | 11853 |
11853 } } // namespace v8::internal | 11854 } } // namespace v8::internal |
OLD | NEW |