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

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

Issue 2311873002: [api] Add interceptor for getOwnPropertyDescriptor(). (Closed)
Patch Set: Crash instead of exception on invalid descriptor. Created 4 years, 3 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.cc ('k') | test/cctest/test-api-interceptors.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 5689 matching lines...) Expand 10 before | Expand all | Expand 10 after
5700 5700
5701 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset) 5701 ACCESSORS(AccessCheckInfo, callback, Object, kCallbackOffset)
5702 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) 5702 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset)
5703 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, 5703 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object,
5704 kIndexedInterceptorOffset) 5704 kIndexedInterceptorOffset)
5705 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) 5705 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset)
5706 5706
5707 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset) 5707 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset)
5708 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset) 5708 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset)
5709 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset) 5709 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset)
5710 ACCESSORS(InterceptorInfo, descriptor, Object, kDescriptorOffset)
5710 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) 5711 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset)
5711 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset) 5712 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset)
5712 ACCESSORS(InterceptorInfo, definer, Object, kDefinerOffset) 5713 ACCESSORS(InterceptorInfo, definer, Object, kDefinerOffset)
5713 ACCESSORS(InterceptorInfo, data, Object, kDataOffset) 5714 ACCESSORS(InterceptorInfo, data, Object, kDataOffset)
5714 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset) 5715 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset)
5715 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols, 5716 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols,
5716 kCanInterceptSymbolsBit) 5717 kCanInterceptSymbolsBit)
5717 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit) 5718 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit)
5718 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking) 5719 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking)
5719 5720
(...skipping 2535 matching lines...) Expand 10 before | Expand all | Expand 10 after
8255 #undef WRITE_INT64_FIELD 8256 #undef WRITE_INT64_FIELD
8256 #undef READ_BYTE_FIELD 8257 #undef READ_BYTE_FIELD
8257 #undef WRITE_BYTE_FIELD 8258 #undef WRITE_BYTE_FIELD
8258 #undef NOBARRIER_READ_BYTE_FIELD 8259 #undef NOBARRIER_READ_BYTE_FIELD
8259 #undef NOBARRIER_WRITE_BYTE_FIELD 8260 #undef NOBARRIER_WRITE_BYTE_FIELD
8260 8261
8261 } // namespace internal 8262 } // namespace internal
8262 } // namespace v8 8263 } // namespace v8
8263 8264
8264 #endif // V8_OBJECTS_INL_H_ 8265 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | test/cctest/test-api-interceptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698