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

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

Issue 760883002: Add interceptor support for symbols (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 6 years 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/v8natives.js » ('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 5485 matching lines...) Expand 10 before | Expand all | Expand 10 after
5496 ACCESSORS(AccessCheckInfo, named_callback, Object, kNamedCallbackOffset) 5496 ACCESSORS(AccessCheckInfo, named_callback, Object, kNamedCallbackOffset)
5497 ACCESSORS(AccessCheckInfo, indexed_callback, Object, kIndexedCallbackOffset) 5497 ACCESSORS(AccessCheckInfo, indexed_callback, Object, kIndexedCallbackOffset)
5498 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset) 5498 ACCESSORS(AccessCheckInfo, data, Object, kDataOffset)
5499 5499
5500 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset) 5500 ACCESSORS(InterceptorInfo, getter, Object, kGetterOffset)
5501 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset) 5501 ACCESSORS(InterceptorInfo, setter, Object, kSetterOffset)
5502 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset) 5502 ACCESSORS(InterceptorInfo, query, Object, kQueryOffset)
5503 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset) 5503 ACCESSORS(InterceptorInfo, deleter, Object, kDeleterOffset)
5504 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset) 5504 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset)
5505 ACCESSORS(InterceptorInfo, data, Object, kDataOffset) 5505 ACCESSORS(InterceptorInfo, data, Object, kDataOffset)
5506 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset)
5507 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols,
5508 kCanInterceptSymbolsBit)
5506 5509
5507 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset) 5510 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset)
5508 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset) 5511 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset)
5509 5512
5510 ACCESSORS(TemplateInfo, tag, Object, kTagOffset) 5513 ACCESSORS(TemplateInfo, tag, Object, kTagOffset)
5511 ACCESSORS(TemplateInfo, property_list, Object, kPropertyListOffset) 5514 ACCESSORS(TemplateInfo, property_list, Object, kPropertyListOffset)
5512 ACCESSORS(TemplateInfo, property_accessors, Object, kPropertyAccessorsOffset) 5515 ACCESSORS(TemplateInfo, property_accessors, Object, kPropertyAccessorsOffset)
5513 5516
5514 ACCESSORS(FunctionTemplateInfo, serial_number, Object, kSerialNumberOffset) 5517 ACCESSORS(FunctionTemplateInfo, serial_number, Object, kSerialNumberOffset)
5515 ACCESSORS(FunctionTemplateInfo, call_code, Object, kCallCodeOffset) 5518 ACCESSORS(FunctionTemplateInfo, call_code, Object, kCallCodeOffset)
(...skipping 1958 matching lines...) Expand 10 before | Expand all | Expand 10 after
7474 #undef READ_SHORT_FIELD 7477 #undef READ_SHORT_FIELD
7475 #undef WRITE_SHORT_FIELD 7478 #undef WRITE_SHORT_FIELD
7476 #undef READ_BYTE_FIELD 7479 #undef READ_BYTE_FIELD
7477 #undef WRITE_BYTE_FIELD 7480 #undef WRITE_BYTE_FIELD
7478 #undef NOBARRIER_READ_BYTE_FIELD 7481 #undef NOBARRIER_READ_BYTE_FIELD
7479 #undef NOBARRIER_WRITE_BYTE_FIELD 7482 #undef NOBARRIER_WRITE_BYTE_FIELD
7480 7483
7481 } } // namespace v8::internal 7484 } } // namespace v8::internal
7482 7485
7483 #endif // V8_OBJECTS_INL_H_ 7486 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698