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 5788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5799 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) | 5799 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) |
5800 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) | 5800 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) |
5801 | 5801 |
5802 ACCESSORS(Tuple2, value1, Object, kValue1Offset) | 5802 ACCESSORS(Tuple2, value1, Object, kValue1Offset) |
5803 ACCESSORS(Tuple2, value2, Object, kValue2Offset) | 5803 ACCESSORS(Tuple2, value2, Object, kValue2Offset) |
5804 ACCESSORS(Tuple3, value3, Object, kValue3Offset) | 5804 ACCESSORS(Tuple3, value3, Object, kValue3Offset) |
5805 | 5805 |
5806 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) | 5806 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) |
5807 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) | 5807 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) |
5808 | 5808 |
| 5809 SMI_ACCESSORS(ConstantElementsPair, elements_kind, kElementsKindOffset) |
| 5810 ACCESSORS(ConstantElementsPair, constant_values, FixedArrayBase, |
| 5811 kConstantValuesOffset) |
| 5812 |
5809 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset) | 5813 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset) |
5810 | 5814 |
5811 ACCESSORS(Module, code, Object, kCodeOffset) | 5815 ACCESSORS(Module, code, Object, kCodeOffset) |
5812 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) | 5816 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) |
5813 ACCESSORS(Module, regular_exports, FixedArray, kRegularExportsOffset) | 5817 ACCESSORS(Module, regular_exports, FixedArray, kRegularExportsOffset) |
5814 ACCESSORS(Module, regular_imports, FixedArray, kRegularImportsOffset) | 5818 ACCESSORS(Module, regular_imports, FixedArray, kRegularImportsOffset) |
5815 ACCESSORS(Module, module_namespace, HeapObject, kModuleNamespaceOffset) | 5819 ACCESSORS(Module, module_namespace, HeapObject, kModuleNamespaceOffset) |
5816 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) | 5820 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) |
5817 SMI_ACCESSORS(Module, hash, kHashOffset) | 5821 SMI_ACCESSORS(Module, hash, kHashOffset) |
5818 | 5822 |
(...skipping 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8474 #undef WRITE_INT64_FIELD | 8478 #undef WRITE_INT64_FIELD |
8475 #undef READ_BYTE_FIELD | 8479 #undef READ_BYTE_FIELD |
8476 #undef WRITE_BYTE_FIELD | 8480 #undef WRITE_BYTE_FIELD |
8477 #undef NOBARRIER_READ_BYTE_FIELD | 8481 #undef NOBARRIER_READ_BYTE_FIELD |
8478 #undef NOBARRIER_WRITE_BYTE_FIELD | 8482 #undef NOBARRIER_WRITE_BYTE_FIELD |
8479 | 8483 |
8480 } // namespace internal | 8484 } // namespace internal |
8481 } // namespace v8 | 8485 } // namespace v8 |
8482 | 8486 |
8483 #endif // V8_OBJECTS_INL_H_ | 8487 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |