| 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 5683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5694 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) | 5694 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) |
| 5695 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) | 5695 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) |
| 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, exports, ObjectHashTable, kExportsOffset) | 5705 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) |
| 5705 | 5706 |
| 5706 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) | 5707 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) |
| 5707 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) | 5708 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) |
| 5708 | 5709 |
| 5709 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) | 5710 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) |
| 5710 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) | 5711 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) |
| 5711 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, | 5712 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, |
| 5712 kIndexedInterceptorOffset) | 5713 kIndexedInterceptorOffset) |
| 5713 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) | 5714 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) |
| (...skipping 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8285 #undef WRITE_INT64_FIELD | 8286 #undef WRITE_INT64_FIELD |
| 8286 #undef READ_BYTE_FIELD | 8287 #undef READ_BYTE_FIELD |
| 8287 #undef WRITE_BYTE_FIELD | 8288 #undef WRITE_BYTE_FIELD |
| 8288 #undef NOBARRIER_READ_BYTE_FIELD | 8289 #undef NOBARRIER_READ_BYTE_FIELD |
| 8289 #undef NOBARRIER_WRITE_BYTE_FIELD | 8290 #undef NOBARRIER_WRITE_BYTE_FIELD |
| 8290 | 8291 |
| 8291 } // namespace internal | 8292 } // namespace internal |
| 8292 } // namespace v8 | 8293 } // namespace v8 |
| 8293 | 8294 |
| 8294 #endif // V8_OBJECTS_INL_H_ | 8295 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |