| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 3182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3193 | 3193 |
| 3194 typedef int ExtraICState; | 3194 typedef int ExtraICState; |
| 3195 | 3195 |
| 3196 static const ExtraICState kNoExtraICState = 0; | 3196 static const ExtraICState kNoExtraICState = 0; |
| 3197 | 3197 |
| 3198 #ifdef ENABLE_DISASSEMBLER | 3198 #ifdef ENABLE_DISASSEMBLER |
| 3199 // Printing | 3199 // Printing |
| 3200 static const char* Kind2String(Kind kind); | 3200 static const char* Kind2String(Kind kind); |
| 3201 static const char* ICState2String(InlineCacheState state); | 3201 static const char* ICState2String(InlineCacheState state); |
| 3202 static const char* PropertyType2String(PropertyType type); | 3202 static const char* PropertyType2String(PropertyType type); |
| 3203 static void PrintExtraICState(FILE* out, Kind kind, ExtraICState extra); |
| 3203 inline void Disassemble(const char* name) { | 3204 inline void Disassemble(const char* name) { |
| 3204 Disassemble(name, stdout); | 3205 Disassemble(name, stdout); |
| 3205 } | 3206 } |
| 3206 void Disassemble(const char* name, FILE* out); | 3207 void Disassemble(const char* name, FILE* out); |
| 3207 #endif // ENABLE_DISASSEMBLER | 3208 #endif // ENABLE_DISASSEMBLER |
| 3208 | 3209 |
| 3209 // [instruction_size]: Size of the native instructions | 3210 // [instruction_size]: Size of the native instructions |
| 3210 inline int instruction_size(); | 3211 inline int instruction_size(); |
| 3211 inline void set_instruction_size(int value); | 3212 inline void set_instruction_size(int value); |
| 3212 | 3213 |
| (...skipping 3306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6519 } else { | 6520 } else { |
| 6520 value &= ~(1 << bit_position); | 6521 value &= ~(1 << bit_position); |
| 6521 } | 6522 } |
| 6522 return value; | 6523 return value; |
| 6523 } | 6524 } |
| 6524 }; | 6525 }; |
| 6525 | 6526 |
| 6526 } } // namespace v8::internal | 6527 } } // namespace v8::internal |
| 6527 | 6528 |
| 6528 #endif // V8_OBJECTS_H_ | 6529 #endif // V8_OBJECTS_H_ |
| OLD | NEW |