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

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

Issue 9152001: Introduce a new AccessorPair type for handling JavaScript accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporated review comments Created 8 years, 11 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3368 matching lines...) Expand 10 before | Expand all | Expand 10 after
3379 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset) 3379 ACCESSORS(GlobalObject, global_receiver, JSObject, kGlobalReceiverOffset)
3380 3380
3381 ACCESSORS(JSGlobalProxy, context, Object, kContextOffset) 3381 ACCESSORS(JSGlobalProxy, context, Object, kContextOffset)
3382 3382
3383 ACCESSORS(AccessorInfo, getter, Object, kGetterOffset) 3383 ACCESSORS(AccessorInfo, getter, Object, kGetterOffset)
3384 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset) 3384 ACCESSORS(AccessorInfo, setter, Object, kSetterOffset)
3385 ACCESSORS(AccessorInfo, data, Object, kDataOffset) 3385 ACCESSORS(AccessorInfo, data, Object, kDataOffset)
3386 ACCESSORS(AccessorInfo, name, Object, kNameOffset) 3386 ACCESSORS(AccessorInfo, name, Object, kNameOffset)
3387 ACCESSORS(AccessorInfo, flag, Smi, kFlagOffset) 3387 ACCESSORS(AccessorInfo, flag, Smi, kFlagOffset)
3388 3388
3389 ACCESSORS(AccessorPair, getter, Object, kGetterOffset)
3390 ACCESSORS(AccessorPair, setter, Object, kSetterOffset)
3391
3389 ACCESSORS(AccessCheckInfo, named_callback, Object, kNamedCallbackOffset) 3392 ACCESSORS(AccessCheckInfo, named_callback, Object, kNamedCallbackOffset)
3390 ACCESSORS(AccessCheckInfo, indexed_callback, Object, kIndexedCallbackOffset) 3393 ACCESSORS(AccessCheckInfo, indexed_callback, Object, kIndexedCallbackOffset)
3391 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) 3394 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset)
3392 3395
3393 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset) 3396 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset)
3394 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset) 3397 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset)
3395 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset) 3398 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset)
3396 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) 3399 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset)
3397 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset) 3400 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset)
3398 ACCESSORS(InterceptorInfo, data, Object, kDataOffset) 3401 ACCESSORS(InterceptorInfo, data, Object, kDataOffset)
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after
4769 #undef WRITE_INT_FIELD 4772 #undef WRITE_INT_FIELD
4770 #undef READ_SHORT_FIELD 4773 #undef READ_SHORT_FIELD
4771 #undef WRITE_SHORT_FIELD 4774 #undef WRITE_SHORT_FIELD
4772 #undef READ_BYTE_FIELD 4775 #undef READ_BYTE_FIELD
4773 #undef WRITE_BYTE_FIELD 4776 #undef WRITE_BYTE_FIELD
4774 4777
4775 4778
4776 } } // namespace v8::internal 4779 } } // namespace v8::internal
4777 4780
4778 #endif // V8_OBJECTS_INL_H_ 4781 #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