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 5686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) |
| 5707 SMI_ACCESSORS(Module, flags, kFlagsOffset) |
| 5708 BOOL_ACCESSORS(Module, flags, evaluated, kEvaluatedBit) |
5707 | 5709 |
5708 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) | 5710 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) |
5709 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) | 5711 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) |
5710 | 5712 |
5711 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) | 5713 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) |
5712 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) | 5714 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) |
5713 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, | 5715 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, |
5714 kIndexedInterceptorOffset) | 5716 kIndexedInterceptorOffset) |
5715 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) | 5717 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) |
5716 | 5718 |
(...skipping 2577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8294 #undef WRITE_INT64_FIELD | 8296 #undef WRITE_INT64_FIELD |
8295 #undef READ_BYTE_FIELD | 8297 #undef READ_BYTE_FIELD |
8296 #undef WRITE_BYTE_FIELD | 8298 #undef WRITE_BYTE_FIELD |
8297 #undef NOBARRIER_READ_BYTE_FIELD | 8299 #undef NOBARRIER_READ_BYTE_FIELD |
8298 #undef NOBARRIER_WRITE_BYTE_FIELD | 8300 #undef NOBARRIER_WRITE_BYTE_FIELD |
8299 | 8301 |
8300 } // namespace internal | 8302 } // namespace internal |
8301 } // namespace v8 | 8303 } // namespace v8 |
8302 | 8304 |
8303 #endif // V8_OBJECTS_INL_H_ | 8305 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |