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

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

Issue 2087823002: Optionally invoke an interceptor on failed access checks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 5 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 5483 matching lines...) Expand 10 before | Expand all | Expand 10 after
5494 5494
5495 ACCESSORS(SloppyBlockWithEvalContextExtension, scope_info, ScopeInfo, 5495 ACCESSORS(SloppyBlockWithEvalContextExtension, scope_info, ScopeInfo,
5496 kScopeInfoOffset) 5496 kScopeInfoOffset)
5497 ACCESSORS(SloppyBlockWithEvalContextExtension, extension, JSObject, 5497 ACCESSORS(SloppyBlockWithEvalContextExtension, extension, JSObject,
5498 kExtensionOffset) 5498 kExtensionOffset)
5499 5499
5500 ACCESSORS(AccessorPair, getter, Object, kGetterOffset) 5500 ACCESSORS(AccessorPair, getter, Object, kGetterOffset)
5501 ACCESSORS(AccessorPair, setter, Object, kSetterOffset) 5501 ACCESSORS(AccessorPair, setter, Object, kSetterOffset)
5502 5502
5503 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) 5503 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset)
5504 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset)
5505 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object,
5506 kIndexedInterceptorOffset)
5504 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) 5507 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset)
5505 5508
5506 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset) 5509 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset)
5507 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset) 5510 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset)
5508 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset) 5511 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset)
5509 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) 5512 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset)
5510 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset) 5513 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset)
5511 ACCESSORS(InterceptorInfo, data, Object, kDataOffset) 5514 ACCESSORS(InterceptorInfo, data, Object, kDataOffset)
5512 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset) 5515 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset)
5513 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols, 5516 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols,
(...skipping 2394 matching lines...) Expand 10 before | Expand all | Expand 10 after
7908 #undef WRITE_INT64_FIELD 7911 #undef WRITE_INT64_FIELD
7909 #undef READ_BYTE_FIELD 7912 #undef READ_BYTE_FIELD
7910 #undef WRITE_BYTE_FIELD 7913 #undef WRITE_BYTE_FIELD
7911 #undef NOBARRIER_READ_BYTE_FIELD 7914 #undef NOBARRIER_READ_BYTE_FIELD
7912 #undef NOBARRIER_WRITE_BYTE_FIELD 7915 #undef NOBARRIER_WRITE_BYTE_FIELD
7913 7916
7914 } // namespace internal 7917 } // namespace internal
7915 } // namespace v8 7918 } // namespace v8
7916 7919
7917 #endif // V8_OBJECTS_INL_H_ 7920 #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