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 5108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5119 const char* Code::Kind2String(Kind kind) { | 5119 const char* Code::Kind2String(Kind kind) { |
5120 switch (kind) { | 5120 switch (kind) { |
5121 case FUNCTION: return "FUNCTION"; | 5121 case FUNCTION: return "FUNCTION"; |
5122 case STUB: return "STUB"; | 5122 case STUB: return "STUB"; |
5123 case BUILTIN: return "BUILTIN"; | 5123 case BUILTIN: return "BUILTIN"; |
5124 case LOAD_IC: return "LOAD_IC"; | 5124 case LOAD_IC: return "LOAD_IC"; |
5125 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; | 5125 case KEYED_LOAD_IC: return "KEYED_LOAD_IC"; |
5126 case STORE_IC: return "STORE_IC"; | 5126 case STORE_IC: return "STORE_IC"; |
5127 case KEYED_STORE_IC: return "KEYED_STORE_IC"; | 5127 case KEYED_STORE_IC: return "KEYED_STORE_IC"; |
5128 case CALL_IC: return "CALL_IC"; | 5128 case CALL_IC: return "CALL_IC"; |
| 5129 case BINARY_OP_IC: return "BINARY_OP_IC"; |
5129 } | 5130 } |
5130 UNREACHABLE(); | 5131 UNREACHABLE(); |
5131 return NULL; | 5132 return NULL; |
5132 } | 5133 } |
5133 | 5134 |
5134 | 5135 |
5135 const char* Code::ICState2String(InlineCacheState state) { | 5136 const char* Code::ICState2String(InlineCacheState state) { |
5136 switch (state) { | 5137 switch (state) { |
5137 case UNINITIALIZED: return "UNINITIALIZED"; | 5138 case UNINITIALIZED: return "UNINITIALIZED"; |
5138 case PREMONOMORPHIC: return "PREMONOMORPHIC"; | 5139 case PREMONOMORPHIC: return "PREMONOMORPHIC"; |
(...skipping 3222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8361 if (break_point_objects()->IsUndefined()) return 0; | 8362 if (break_point_objects()->IsUndefined()) return 0; |
8362 // Single beak point. | 8363 // Single beak point. |
8363 if (!break_point_objects()->IsFixedArray()) return 1; | 8364 if (!break_point_objects()->IsFixedArray()) return 1; |
8364 // Multiple break points. | 8365 // Multiple break points. |
8365 return FixedArray::cast(break_point_objects())->length(); | 8366 return FixedArray::cast(break_point_objects())->length(); |
8366 } | 8367 } |
8367 #endif | 8368 #endif |
8368 | 8369 |
8369 | 8370 |
8370 } } // namespace v8::internal | 8371 } } // namespace v8::internal |
OLD | NEW |