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 5674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5685 return nullptr; | 5685 return nullptr; |
5686 } | 5686 } |
5687 | 5687 |
5688 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) | 5688 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) |
5689 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) | 5689 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) |
5690 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) | 5690 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) |
5691 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) | 5691 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) |
5692 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) | 5692 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) |
5693 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) | 5693 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) |
5694 | 5694 |
5695 ACCESSORS(SloppyBlockWithEvalContextExtension, scope_info, ScopeInfo, | 5695 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) |
5696 kScopeInfoOffset) | 5696 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) |
5697 ACCESSORS(SloppyBlockWithEvalContextExtension, extension, JSObject, | |
5698 kExtensionOffset) | |
5699 | 5697 |
5700 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) | 5698 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) |
5701 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) | 5699 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) |
5702 | 5700 |
5703 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) | 5701 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) |
5704 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) | 5702 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) |
5705 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, | 5703 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, |
5706 kIndexedInterceptorOffset) | 5704 kIndexedInterceptorOffset) |
5707 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) | 5705 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) |
5708 | 5706 |
(...skipping 2547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8256 #undef WRITE_INT64_FIELD | 8254 #undef WRITE_INT64_FIELD |
8257 #undef READ_BYTE_FIELD | 8255 #undef READ_BYTE_FIELD |
8258 #undef WRITE_BYTE_FIELD | 8256 #undef WRITE_BYTE_FIELD |
8259 #undef NOBARRIER_READ_BYTE_FIELD | 8257 #undef NOBARRIER_READ_BYTE_FIELD |
8260 #undef NOBARRIER_WRITE_BYTE_FIELD | 8258 #undef NOBARRIER_WRITE_BYTE_FIELD |
8261 | 8259 |
8262 } // namespace internal | 8260 } // namespace internal |
8263 } // namespace v8 | 8261 } // namespace v8 |
8264 | 8262 |
8265 #endif // V8_OBJECTS_INL_H_ | 8263 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |