| 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 5702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5713 return nullptr; | 5713 return nullptr; |
| 5714 } | 5714 } |
| 5715 | 5715 |
| 5716 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) | 5716 ACCESSORS(PrototypeInfo, prototype_users, Object, kPrototypeUsersOffset) |
| 5717 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) | 5717 ACCESSORS(PrototypeInfo, object_create_map, Object, kObjectCreateMap) |
| 5718 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) | 5718 SMI_ACCESSORS(PrototypeInfo, registry_slot, kRegistrySlotOffset) |
| 5719 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) | 5719 ACCESSORS(PrototypeInfo, validity_cell, Object, kValidityCellOffset) |
| 5720 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) | 5720 SMI_ACCESSORS(PrototypeInfo, bit_field, kBitFieldOffset) |
| 5721 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) | 5721 BOOL_ACCESSORS(PrototypeInfo, bit_field, should_be_fast_map, kShouldBeFastBit) |
| 5722 | 5722 |
| 5723 ACCESSORS(Tuple3, value1, Object, kValue1Offset) |
| 5724 ACCESSORS(Tuple3, value2, Object, kValue2Offset) |
| 5725 ACCESSORS(Tuple3, value3, Object, kValue3Offset) |
| 5726 |
| 5723 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) | 5727 ACCESSORS(ContextExtension, scope_info, ScopeInfo, kScopeInfoOffset) |
| 5724 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) | 5728 ACCESSORS(ContextExtension, extension, Object, kExtensionOffset) |
| 5725 | 5729 |
| 5726 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset) | 5730 ACCESSORS(JSModuleNamespace, module, Module, kModuleOffset) |
| 5727 | 5731 |
| 5728 ACCESSORS(Module, code, Object, kCodeOffset) | 5732 ACCESSORS(Module, code, Object, kCodeOffset) |
| 5729 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) | 5733 ACCESSORS(Module, exports, ObjectHashTable, kExportsOffset) |
| 5730 ACCESSORS(Module, module_namespace, HeapObject, kModuleNamespaceOffset) | 5734 ACCESSORS(Module, module_namespace, HeapObject, kModuleNamespaceOffset) |
| 5731 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) | 5735 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) |
| 5732 SMI_ACCESSORS(Module, flags, kFlagsOffset) | 5736 SMI_ACCESSORS(Module, flags, kFlagsOffset) |
| (...skipping 2608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8341 #undef WRITE_INT64_FIELD | 8345 #undef WRITE_INT64_FIELD |
| 8342 #undef READ_BYTE_FIELD | 8346 #undef READ_BYTE_FIELD |
| 8343 #undef WRITE_BYTE_FIELD | 8347 #undef WRITE_BYTE_FIELD |
| 8344 #undef NOBARRIER_READ_BYTE_FIELD | 8348 #undef NOBARRIER_READ_BYTE_FIELD |
| 8345 #undef NOBARRIER_WRITE_BYTE_FIELD | 8349 #undef NOBARRIER_WRITE_BYTE_FIELD |
| 8346 | 8350 |
| 8347 } // namespace internal | 8351 } // namespace internal |
| 8348 } // namespace v8 | 8352 } // namespace v8 |
| 8349 | 8353 |
| 8350 #endif // V8_OBJECTS_INL_H_ | 8354 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |