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

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

Issue 12297012: Runtime version of declarative native accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed nits Created 7 years, 9 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-debug.cc ('k') | src/objects-printer.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 // 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 4160 matching lines...) Expand 10 before | Expand all | Expand 10 after
4171 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) 4171 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset)
4172 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset) 4172 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset)
4173 4173
4174 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) 4174 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset)
4175 4175
4176 ACCESSORS(AccessorInfo, name, Object, kNameOffset) 4176 ACCESSORS(AccessorInfo, name, Object, kNameOffset)
4177 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset) 4177 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset)
4178 ACCESSORS(AccessorInfo, expected_receiver_type, Object, 4178 ACCESSORS(AccessorInfo, expected_receiver_type, Object,
4179 kExpectedReceiverTypeOffset) 4179 kExpectedReceiverTypeOffset)
4180 4180
4181 ACCESSORS(DeclaredAccessorDescriptor, internal_field, Smi, kInternalFieldOffset) 4181 ACCESSORS(DeclaredAccessorDescriptor, serialized_data, ByteArray,
4182 kSerializedDataOffset)
4182 4183
4183 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor, 4184 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor,
4184 kDescriptorOffset) 4185 kDescriptorOffset)
4185 4186
4186 ACCESSORS(ExecutableAccessorInfo, getter, Object, kGetterOffset) 4187 ACCESSORS(ExecutableAccessorInfo, getter, Object, kGetterOffset)
4187 ACCESSORS(ExecutableAccessorInfo, setter, Object, kSetterOffset) 4188 ACCESSORS(ExecutableAccessorInfo, setter, Object, kSetterOffset)
4188 ACCESSORS(ExecutableAccessorInfo, data, Object, kDataOffset) 4189 ACCESSORS(ExecutableAccessorInfo, data, Object, kDataOffset)
4189 4190
4190 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) 4191 ACCESSORS(AccessorPair, getter, Object, kGetterOffset)
4191 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) 4192 ACCESSORS(AccessorPair, setter, Object, kSetterOffset)
(...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after
5979 #undef WRITE_UINT32_FIELD 5980 #undef WRITE_UINT32_FIELD
5980 #undef READ_SHORT_FIELD 5981 #undef READ_SHORT_FIELD
5981 #undef WRITE_SHORT_FIELD 5982 #undef WRITE_SHORT_FIELD
5982 #undef READ_BYTE_FIELD 5983 #undef READ_BYTE_FIELD
5983 #undef WRITE_BYTE_FIELD 5984 #undef WRITE_BYTE_FIELD
5984 5985
5985 5986
5986 } } // namespace v8::internal 5987 } } // namespace v8::internal
5987 5988
5988 #endif // V8_OBJECTS_INL_H_ 5989 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698