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 2707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2718 // No more than 16 kinds. The value currently encoded in four bits in | 2718 // No more than 16 kinds. The value currently encoded in four bits in |
2719 // Flags. | 2719 // Flags. |
2720 | 2720 |
2721 // Pseudo-kinds. | 2721 // Pseudo-kinds. |
2722 REGEXP = BUILTIN, | 2722 REGEXP = BUILTIN, |
2723 FIRST_IC_KIND = LOAD_IC, | 2723 FIRST_IC_KIND = LOAD_IC, |
2724 LAST_IC_KIND = BINARY_OP_IC | 2724 LAST_IC_KIND = BINARY_OP_IC |
2725 }; | 2725 }; |
2726 | 2726 |
2727 enum { | 2727 enum { |
2728 NUMBER_OF_KINDS = KEYED_STORE_IC + 1 | 2728 NUMBER_OF_KINDS = LAST_IC_KIND + 1 |
2729 }; | 2729 }; |
2730 | 2730 |
2731 #ifdef ENABLE_DISASSEMBLER | 2731 #ifdef ENABLE_DISASSEMBLER |
2732 // Printing | 2732 // Printing |
2733 static const char* Kind2String(Kind kind); | 2733 static const char* Kind2String(Kind kind); |
2734 static const char* ICState2String(InlineCacheState state); | 2734 static const char* ICState2String(InlineCacheState state); |
2735 static const char* PropertyType2String(PropertyType type); | 2735 static const char* PropertyType2String(PropertyType type); |
2736 void Disassemble(const char* name); | 2736 void Disassemble(const char* name); |
2737 #endif // ENABLE_DISASSEMBLER | 2737 #endif // ENABLE_DISASSEMBLER |
2738 | 2738 |
(...skipping 2625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5364 } else { | 5364 } else { |
5365 value &= ~(1 << bit_position); | 5365 value &= ~(1 << bit_position); |
5366 } | 5366 } |
5367 return value; | 5367 return value; |
5368 } | 5368 } |
5369 }; | 5369 }; |
5370 | 5370 |
5371 } } // namespace v8::internal | 5371 } } // namespace v8::internal |
5372 | 5372 |
5373 #endif // V8_OBJECTS_H_ | 5373 #endif // V8_OBJECTS_H_ |
OLD | NEW |