| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 // Must fit in the BitField PropertyDetails::TypeField. | 327 // Must fit in the BitField PropertyDetails::TypeField. |
| 328 // A copy of this is in mirror-debugger.js. | 328 // A copy of this is in mirror-debugger.js. |
| 329 enum PropertyType { | 329 enum PropertyType { |
| 330 NORMAL = 0, // only in slow mode | 330 NORMAL = 0, // only in slow mode |
| 331 FIELD = 1, // only in fast mode | 331 FIELD = 1, // only in fast mode |
| 332 CONSTANT_FUNCTION = 2, // only in fast mode | 332 CONSTANT_FUNCTION = 2, // only in fast mode |
| 333 CALLBACKS = 3, | 333 CALLBACKS = 3, |
| 334 HANDLER = 4, // only in lookup results, not in descriptors | 334 HANDLER = 4, // only in lookup results, not in descriptors |
| 335 INTERCEPTOR = 5, // only in lookup results, not in descriptors | 335 INTERCEPTOR = 5, // only in lookup results, not in descriptors |
| 336 MAP_TRANSITION = 6, // only in fast mode | 336 MAP_TRANSITION = 6, // only in fast mode |
| 337 EXTERNAL_ARRAY_TRANSITION = 7, | 337 ELEMENTS_TRANSITION = 7, |
| 338 CONSTANT_TRANSITION = 8, // only in fast mode | 338 CONSTANT_TRANSITION = 8, // only in fast mode |
| 339 NULL_DESCRIPTOR = 9, // only in fast mode | 339 NULL_DESCRIPTOR = 9, // only in fast mode |
| 340 // All properties before MAP_TRANSITION are real. | 340 // All properties before MAP_TRANSITION are real. |
| 341 FIRST_PHANTOM_PROPERTY_TYPE = MAP_TRANSITION, | 341 FIRST_PHANTOM_PROPERTY_TYPE = MAP_TRANSITION, |
| 342 // There are no IC stubs for NULL_DESCRIPTORS. Therefore, | 342 // There are no IC stubs for NULL_DESCRIPTORS. Therefore, |
| 343 // NULL_DESCRIPTOR can be used as the type flag for IC stubs for | 343 // NULL_DESCRIPTOR can be used as the type flag for IC stubs for |
| 344 // nonexistent properties. | 344 // nonexistent properties. |
| 345 NONEXISTENT = NULL_DESCRIPTOR | 345 NONEXISTENT = NULL_DESCRIPTOR |
| 346 }; | 346 }; |
| 347 | 347 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; | 512 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; |
| 513 | 513 |
| 514 const uint64_t kHoleNanInt64 = | 514 const uint64_t kHoleNanInt64 = |
| 515 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; | 515 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; |
| 516 const uint64_t kLastNonNaNInt64 = | 516 const uint64_t kLastNonNaNInt64 = |
| 517 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); | 517 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); |
| 518 | 518 |
| 519 } } // namespace v8::internal | 519 } } // namespace v8::internal |
| 520 | 520 |
| 521 #endif // V8_V8GLOBALS_H_ | 521 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |