OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Review notes: | 5 // Review notes: |
6 // | 6 // |
7 // - The use of macros in these inline functions may seem superfluous | 7 // - The use of macros in these inline functions may seem superfluous |
8 // but it is absolutely needed to make sure gcc generates optimal | 8 // but it is absolutely needed to make sure gcc generates optimal |
9 // code. gcc is not happy when attempting to inline too deep. | 9 // code. gcc is not happy when attempting to inline too deep. |
10 // | 10 // |
(...skipping 5746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5757 } | 5757 } |
5758 | 5758 |
5759 ACCESSORS(PrototypeInfo, weak_cell, Object, kWeakCellOffset) | 5759 ACCESSORS(PrototypeInfo, weak_cell, Object, kWeakCellOffset) |
5760 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) | 5760 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) |
5761 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) | 5761 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) |
5762 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) | 5762 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) |
5763 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) | 5763 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) |
5764 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) | 5764 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) |
5765 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) | 5765 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) |
5766 | 5766 |
5767 ACCESSORS(Tuple2, value1, Object, kValue1Offset) | 5767 ACCESSORS(Tuple3, value1, Object, kValue1Offset) |
5768 ACCESSORS(Tuple2, value2, Object, kValue2Offset) | 5768 ACCESSORS(Tuple3, value2, Object, kValue2Offset) |
5769 ACCESSORS(Tuple3, value3, Object, kValue3Offset) | 5769 ACCESSORS(Tuple3, value3, Object, kValue3Offset) |
5770 | 5770 |
5771 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) | 5771 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) |
5772 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) | 5772 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) |
5773 | 5773 |
5774 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset) | 5774 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset) |
5775 | 5775 |
5776 ACCESSORS(JSFixedArrayIterator, array, FixedArray, kArrayOffset) | 5776 ACCESSORS(JSFixedArrayIterator, array, FixedArray, kArrayOffset) |
5777 SMI_ACCESSORS(JSFixedArrayIterator, index, kIndexOffset) | 5777 SMI_ACCESSORS(JSFixedArrayIterator, index, kIndexOffset) |
5778 ACCESSORS(JSFixedArrayIterator, initial_next, JSFunction, kNextOffset) | 5778 ACCESSORS(JSFixedArrayIterator, initial_next, JSFunction, kNextOffset) |
(...skipping 2656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8435 #undef WRITE_INT64_FIELD | 8435 #undef WRITE_INT64_FIELD |
8436 #undef READ_BYTE_FIELD | 8436 #undef READ_BYTE_FIELD |
8437 #undef WRITE_BYTE_FIELD | 8437 #undef WRITE_BYTE_FIELD |
8438 #undef NOBARRIER_READ_BYTE_FIELD | 8438 #undef NOBARRIER_READ_BYTE_FIELD |
8439 #undef NOBARRIER_WRITE_BYTE_FIELD | 8439 #undef NOBARRIER_WRITE_BYTE_FIELD |
8440 | 8440 |
8441 } // namespace internal | 8441 } // namespace internal |
8442 } // namespace v8 | 8442 } // namespace v8 |
8443 | 8443 |
8444 #endif // V8_OBJECTS_INL_H_ | 8444 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |