OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-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 5378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5389 const char* Code::Kind2String(Kind kind) { | 5389 const char* Code::Kind2String(Kind kind) { |
5390 switch (kind) { | 5390 switch (kind) { |
5391 case FUNCTION: return "FUNCTION"; | 5391 case FUNCTION: return "FUNCTION"; |
5392 case STUB: return "STUB"; | 5392 case STUB: return "STUB"; |
5393 case BUILTIN: return "BUILTIN"; | 5393 case BUILTIN: return "BUILTIN"; |
5394 case LOAD_IC: return "LOAD_IC"; | 5394 case LOAD_IC: return "LOAD_IC"; |
5395 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; | 5395 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; |
5396 case STORE_IC: return "STORE_IC"; | 5396 case STORE_IC: return "STORE_IC"; |
5397 case KEYED_STORE_IC: return "KEYED_STORE_IC"; | 5397 case KEYED_STORE_IC: return "KEYED_STORE_IC"; |
5398 case CALL_IC: return "CALL_IC"; | 5398 case CALL_IC: return "CALL_IC"; |
| 5399 case KEYED_CALL_IC: return "KEYED_CALL_IC"; |
5399 case BINARY_OP_IC: return "BINARY_OP_IC"; | 5400 case BINARY_OP_IC: return "BINARY_OP_IC"; |
5400 } | 5401 } |
5401 UNREACHABLE(); | 5402 UNREACHABLE(); |
5402 return NULL; | 5403 return NULL; |
5403 } | 5404 } |
5404 | 5405 |
5405 | 5406 |
5406 const char* Code::ICState2String(InlineCacheState state) { | 5407 const char* Code::ICState2String(InlineCacheState state) { |
5407 switch (state) { | 5408 switch (state) { |
5408 case UNINITIALIZED: return "UNINITIALIZED"; | 5409 case UNINITIALIZED: return "UNINITIALIZED"; |
(...skipping 3299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8708 if (break_point_objects()->IsUndefined()) return 0; | 8709 if (break_point_objects()->IsUndefined()) return 0; |
8709 // Single beak point. | 8710 // Single beak point. |
8710 if (!break_point_objects()->IsFixedArray()) return 1; | 8711 if (!break_point_objects()->IsFixedArray()) return 1; |
8711 // Multiple break points. | 8712 // Multiple break points. |
8712 return FixedArray::cast(break_point_objects())->length(); | 8713 return FixedArray::cast(break_point_objects())->length(); |
8713 } | 8714 } |
8714 #endif | 8715 #endif |
8715 | 8716 |
8716 | 8717 |
8717 } } // namespace v8::internal | 8718 } } // namespace v8::internal |
OLD | NEW |