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

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: Re-introduce %UnwrapProxy to make Object.observe work Created 6 years, 8 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5047 matching lines...) Expand 10 before | Expand all | Expand 10 after
5058 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) 5058 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset)
5059 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset) 5059 ACCESSORS(JSFunction, literals_or_bindings, FixedArray, kLiteralsOffset)
5060 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset) 5060 ACCESSORS(JSFunction, next_function_link, Object, kNextFunctionLinkOffset)
5061 5061
5062 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset) 5062 ACCESSORS(GlobalObject, builtins, JSBuiltinsObject, kBuiltinsOffset)
5063 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset) 5063 ACCESSORS(GlobalObject, native_context, Context, kNativeContextOffset)
5064 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) 5064 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset)
5065 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset) 5065 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset)
5066 5066
5067 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) 5067 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset)
5068 ACCESSORS(JSGlobalProxy, hash, Object, kHashOffset)
5068 5069
5069 ACCESSORS(AccessorInfo, name, Object, kNameOffset) 5070 ACCESSORS(AccessorInfo, name, Object, kNameOffset)
5070 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset) 5071 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset)
5071 ACCESSORS(AccessorInfo, expected_receiver_type, Object, 5072 ACCESSORS(AccessorInfo, expected_receiver_type, Object,
5072 kExpectedReceiverTypeOffset) 5073 kExpectedReceiverTypeOffset)
5073 5074
5074 ACCESSORS(DeclaredAccessorDescriptor, serialized_data, ByteArray, 5075 ACCESSORS(DeclaredAccessorDescriptor, serialized_data, ByteArray,
5075 kSerializedDataOffset) 5076 kSerializedDataOffset)
5076 5077
5077 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor, 5078 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor,
(...skipping 1941 matching lines...) Expand 10 before | Expand all | Expand 10 after
7019 #undef READ_SHORT_FIELD 7020 #undef READ_SHORT_FIELD
7020 #undef WRITE_SHORT_FIELD 7021 #undef WRITE_SHORT_FIELD
7021 #undef READ_BYTE_FIELD 7022 #undef READ_BYTE_FIELD
7022 #undef WRITE_BYTE_FIELD 7023 #undef WRITE_BYTE_FIELD
7023 #undef NOBARRIER_READ_BYTE_FIELD 7024 #undef NOBARRIER_READ_BYTE_FIELD
7024 #undef NOBARRIER_WRITE_BYTE_FIELD 7025 #undef NOBARRIER_WRITE_BYTE_FIELD
7025 7026
7026 } } // namespace v8::internal 7027 } } // namespace v8::internal
7027 7028
7028 #endif // V8_OBJECTS_INL_H_ 7029 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/objects.cc ('K') | « src/objects.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698