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 4903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4914 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) | 4914 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) |
4915 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset) | 4915 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset) |
4916 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) | 4916 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) |
4917 | 4917 |
4918 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset) | 4918 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset) |
4919 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset) | 4919 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset) |
4920 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) | 4920 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) |
4921 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset) | 4921 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset) |
4922 | 4922 |
4923 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) | 4923 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) |
| 4924 ACCESSORS(JSGlobalProxy, hash, Object, kHashOffset) |
4924 | 4925 |
4925 ACCESSORS(AccessorInfo, name, Object, kNameOffset) | 4926 ACCESSORS(AccessorInfo, name, Object, kNameOffset) |
4926 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset) | 4927 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset) |
4927 ACCESSORS(AccessorInfo, expected_receiver_type, Object, | 4928 ACCESSORS(AccessorInfo, expected_receiver_type, Object, |
4928 kExpectedReceiverTypeOffset) | 4929 kExpectedReceiverTypeOffset) |
4929 | 4930 |
4930 ACCESSORS(DeclaredAccessorDescriptor, serialized_data, ByteArray, | 4931 ACCESSORS(DeclaredAccessorDescriptor, serialized_data, ByteArray, |
4931 kSerializedDataOffset) | 4932 kSerializedDataOffset) |
4932 | 4933 |
4933 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor, | 4934 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor, |
(...skipping 1916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6850 #undef READ_SHORT_FIELD | 6851 #undef READ_SHORT_FIELD |
6851 #undef WRITE_SHORT_FIELD | 6852 #undef WRITE_SHORT_FIELD |
6852 #undef READ_BYTE_FIELD | 6853 #undef READ_BYTE_FIELD |
6853 #undef WRITE_BYTE_FIELD | 6854 #undef WRITE_BYTE_FIELD |
6854 #undef NOBARRIER_READ_BYTE_FIELD | 6855 #undef NOBARRIER_READ_BYTE_FIELD |
6855 #undef NOBARRIER_WRITE_BYTE_FIELD | 6856 #undef NOBARRIER_WRITE_BYTE_FIELD |
6856 | 6857 |
6857 } } // namespace v8::internal | 6858 } } // namespace v8::internal |
6858 | 6859 |
6859 #endif // V8_OBJECTS_INL_H_ | 6860 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |