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

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: round 2 Created 7 years, 10 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 4095 matching lines...) Expand 10 before | Expand all | Expand 10 after
4106 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset) 4106 ACCESSORS(GlobalObject, global_context, Context, kGlobalContextOffset)
4107 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset) 4107 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset)
4108 4108
4109 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset) 4109 ACCESSORS(JSGlobalProxy, native_context, Object, kNativeContextOffset)
4110 4110
4111 ACCESSORS(AccessorInfo, name, Object, kNameOffset) 4111 ACCESSORS(AccessorInfo, name, Object, kNameOffset)
4112 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset) 4112 ACCESSORS_TO_SMI(AccessorInfo, flag, kFlagOffset)
4113 ACCESSORS(AccessorInfo, expected_receiver_type, Object, 4113 ACCESSORS(AccessorInfo, expected_receiver_type, Object,
4114 kExpectedReceiverTypeOffset) 4114 kExpectedReceiverTypeOffset)
4115 4115
4116 ACCESSORS(DeclaredAccessorDescriptor, internal_field, Smi, kInternalFieldOffset) 4116 ACCESSORS(DeclaredAccessorDescriptor, serialized_data, ByteArray,
4117 kSerializedDataOffset)
4117 4118
4118 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor, 4119 ACCESSORS(DeclaredAccessorInfo, descriptor, DeclaredAccessorDescriptor,
4119 kDescriptorOffset) 4120 kDescriptorOffset)
4120 4121
4121 ACCESSORS(ExecutableAccessorInfo, getter, Object, kGetterOffset) 4122 ACCESSORS(ExecutableAccessorInfo, getter, Object, kGetterOffset)
4122 ACCESSORS(ExecutableAccessorInfo, setter, Object, kSetterOffset) 4123 ACCESSORS(ExecutableAccessorInfo, setter, Object, kSetterOffset)
4123 ACCESSORS(ExecutableAccessorInfo, data, Object, kDataOffset) 4124 ACCESSORS(ExecutableAccessorInfo, data, Object, kDataOffset)
4124 4125
4125 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) 4126 ACCESSORS(AccessorPair, getter, Object, kGetterOffset)
4126 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) 4127 ACCESSORS(AccessorPair, setter, Object, kSetterOffset)
(...skipping 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after
5902 #undef WRITE_UINT32_FIELD 5903 #undef WRITE_UINT32_FIELD
5903 #undef READ_SHORT_FIELD 5904 #undef READ_SHORT_FIELD
5904 #undef WRITE_SHORT_FIELD 5905 #undef WRITE_SHORT_FIELD
5905 #undef READ_BYTE_FIELD 5906 #undef READ_BYTE_FIELD
5906 #undef WRITE_BYTE_FIELD 5907 #undef WRITE_BYTE_FIELD
5907 5908
5908 5909
5909 } } // namespace v8::internal 5910 } } // namespace v8::internal
5910 5911
5911 #endif // V8_OBJECTS_INL_H_ 5912 #endif // V8_OBJECTS_INL_H_
OLDNEW
« src/objects.cc ('K') | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698