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

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

Issue 2303533004: Revert of [api] Add interceptor for defineProperty(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@DefineProperty
Patch Set: 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 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset) 5700 ACCESSORS(AccessCheckInfo, named_interceptor, Object, kNamedInterceptorOffset)
5701 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object, 5701 ACCESSORS(AccessCheckInfo, indexed_interceptor, Object,
5702 kIndexedInterceptorOffset) 5702 kIndexedInterceptorOffset)
5703 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) 5703 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset)
5704 5704
5705 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset) 5705 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset)
5706 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset) 5706 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset)
5707 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset) 5707 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset)
5708 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) 5708 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset)
5709 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset) 5709 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset)
5710 ACCESSORS(InterceptorInfo, definer, Object, kDefinerOffset)
5711 ACCESSORS(InterceptorInfo, data, Object, kDataOffset) 5710 ACCESSORS(InterceptorInfo, data, Object, kDataOffset)
5712 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset) 5711 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset)
5713 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols, 5712 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols,
5714 kCanInterceptSymbolsBit) 5713 kCanInterceptSymbolsBit)
5715 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit) 5714 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit)
5716 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking) 5715 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking)
5717 5716
5718 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset) 5717 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset)
5719 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset) 5718 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset)
5720 ACCESSORS(CallHandlerInfo, fast_handler, Object, kFastHandlerOffset) 5719 ACCESSORS(CallHandlerInfo, fast_handler, Object, kFastHandlerOffset)
(...skipping 2525 matching lines...) Expand 10 before | Expand all | Expand 10 after
8246 #undef WRITE_INT64_FIELD 8245 #undef WRITE_INT64_FIELD
8247 #undef READ_BYTE_FIELD 8246 #undef READ_BYTE_FIELD
8248 #undef WRITE_BYTE_FIELD 8247 #undef WRITE_BYTE_FIELD
8249 #undef NOBARRIER_READ_BYTE_FIELD 8248 #undef NOBARRIER_READ_BYTE_FIELD
8250 #undef NOBARRIER_WRITE_BYTE_FIELD 8249 #undef NOBARRIER_WRITE_BYTE_FIELD
8251 8250
8252 } // namespace internal 8251 } // namespace internal
8253 } // namespace v8 8252 } // namespace v8
8254 8253
8255 #endif // V8_OBJECTS_INL_H_ 8254 #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