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

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

Issue 1410883006: Plumb accessing context through to access control callbacks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« 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 // 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 5641 matching lines...) Expand 10 before | Expand all | Expand 10 after
5652 ACCESSORS(SloppyBlockWithEvalContextExtension, scope_info, ScopeInfo, 5652 ACCESSORS(SloppyBlockWithEvalContextExtension, scope_info, ScopeInfo,
5653 kScopeInfoOffset) 5653 kScopeInfoOffset)
5654 ACCESSORS(SloppyBlockWithEvalContextExtension, extension, JSObject, 5654 ACCESSORS(SloppyBlockWithEvalContextExtension, extension, JSObject,
5655 kExtensionOffset) 5655 kExtensionOffset)
5656 5656
5657 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) 5657 ACCESSORS(AccessorPair, getter, Object, kGetterOffset)
5658 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) 5658 ACCESSORS(AccessorPair, setter, Object, kSetterOffset)
5659 5659
5660 ACCESSORS(AccessCheckInfo, named_callback, Object, kNamedCallbackOffset) 5660 ACCESSORS(AccessCheckInfo, named_callback, Object, kNamedCallbackOffset)
5661 ACCESSORS(AccessCheckInfo, indexed_callback, Object, kIndexedCallbackOffset) 5661 ACCESSORS(AccessCheckInfo, indexed_callback, Object, kIndexedCallbackOffset)
5662 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset)
5662 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) 5663 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset)
5663 5664
5664 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset) 5665 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset)
5665 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset) 5666 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset)
5666 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset) 5667 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset)
5667 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) 5668 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset)
5668 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset) 5669 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset)
5669 ACCESSORS(InterceptorInfo, data, Object, kDataOffset) 5670 ACCESSORS(InterceptorInfo, data, Object, kDataOffset)
5670 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset) 5671 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset)
5671 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols, 5672 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols,
(...skipping 2459 matching lines...) Expand 10 before | Expand all | Expand 10 after
8131 #undef WRITE_INT64_FIELD 8132 #undef WRITE_INT64_FIELD
8132 #undef READ_BYTE_FIELD 8133 #undef READ_BYTE_FIELD
8133 #undef WRITE_BYTE_FIELD 8134 #undef WRITE_BYTE_FIELD
8134 #undef NOBARRIER_READ_BYTE_FIELD 8135 #undef NOBARRIER_READ_BYTE_FIELD
8135 #undef NOBARRIER_WRITE_BYTE_FIELD 8136 #undef NOBARRIER_WRITE_BYTE_FIELD
8136 8137
8137 } // namespace internal 8138 } // namespace internal
8138 } // namespace v8 8139 } // namespace v8
8139 8140
8140 #endif // V8_OBJECTS_INL_H_ 8141 #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