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 5685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5696 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) | 5696 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) |
5697 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) | 5697 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) |
5698 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) | 5698 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) |
5699 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) | 5699 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) |
5700 | 5700 |
5701 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) | 5701 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) |
5702 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) | 5702 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) |
5703 | 5703 |
5704 ACCESSORS(Module, code, Object, kCodeOffset) | 5704 ACCESSORS(Module, code, Object, kCodeOffset) |
5705 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) | 5705 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) |
| 5706 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) |
5706 | 5707 |
5707 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) | 5708 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) |
5708 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) | 5709 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) |
5709 | 5710 |
5710 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) | 5711 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) |
5711 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) | 5712 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) |
5712 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, | 5713 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, |
5713 kIndexedInterceptorOffset) | 5714 kIndexedInterceptorOffset) |
5714 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) | 5715 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) |
5715 | 5716 |
(...skipping 2574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8290 #undef WRITE_INT64_FIELD | 8291 #undef WRITE_INT64_FIELD |
8291 #undef READ_BYTE_FIELD | 8292 #undef READ_BYTE_FIELD |
8292 #undef WRITE_BYTE_FIELD | 8293 #undef WRITE_BYTE_FIELD |
8293 #undef NOBARRIER_READ_BYTE_FIELD | 8294 #undef NOBARRIER_READ_BYTE_FIELD |
8294 #undef NOBARRIER_WRITE_BYTE_FIELD | 8295 #undef NOBARRIER_WRITE_BYTE_FIELD |
8295 | 8296 |
8296 } // namespace internal | 8297 } // namespace internal |
8297 } // namespace v8 | 8298 } // namespace v8 |
8298 | 8299 |
8299 #endif // V8_OBJECTS_INL_H_ | 8300 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |