Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: src/objects-inl.h

Issue 254433002: Store JSGlobalProxy's identity hash directly on the proxy itself (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged to trunk, removed Object.observe workaround Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698