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

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

Issue 1407313004: Adds the possibility of setting a Code object as the callback of a FunctionTemplate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 5 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.h ('k') | src/ppc/builtins-ppc.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 5601 matching lines...) Expand 10 before | Expand all | Expand 10 after
5612 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset) 5612 ACCESSORS(InterceptorInfo, enumerator, Object, kEnumeratorOffset)
5613 ACCESSORS(InterceptorInfo, data, Object, kDataOffset) 5613 ACCESSORS(InterceptorInfo, data, Object, kDataOffset)
5614 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset) 5614 SMI_ACCESSORS(InterceptorInfo, flags, kFlagsOffset)
5615 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols, 5615 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols,
5616 kCanInterceptSymbolsBit) 5616 kCanInterceptSymbolsBit)
5617 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit) 5617 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit)
5618 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking) 5618 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking)
5619 5619
5620 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset) 5620 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset)
5621 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset) 5621 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset)
5622 ACCESSORS(CallHandlerInfo, fast_handler, Object, kFastHandlerOffset)
5622 5623
5623 ACCESSORS(TemplateInfo, tag, Object, kTagOffset) 5624 ACCESSORS(TemplateInfo, tag, Object, kTagOffset)
5624 SMI_ACCESSORS(TemplateInfo, number_of_properties, kNumberOfProperties) 5625 SMI_ACCESSORS(TemplateInfo, number_of_properties, kNumberOfProperties)
5625 ACCESSORS(TemplateInfo, property_list, Object, kPropertyListOffset) 5626 ACCESSORS(TemplateInfo, property_list, Object, kPropertyListOffset)
5626 ACCESSORS(TemplateInfo, property_accessors, Object, kPropertyAccessorsOffset) 5627 ACCESSORS(TemplateInfo, property_accessors, Object, kPropertyAccessorsOffset)
5627 5628
5628 ACCESSORS(FunctionTemplateInfo, serial_number, Object, kSerialNumberOffset) 5629 ACCESSORS(FunctionTemplateInfo, serial_number, Object, kSerialNumberOffset)
5629 ACCESSORS(FunctionTemplateInfo, call_code, Object, kCallCodeOffset) 5630 ACCESSORS(FunctionTemplateInfo, call_code, Object, kCallCodeOffset)
5630 ACCESSORS(FunctionTemplateInfo, prototype_template, Object, 5631 ACCESSORS(FunctionTemplateInfo, prototype_template, Object,
5631 kPrototypeTemplateOffset) 5632 kPrototypeTemplateOffset)
(...skipping 2258 matching lines...) Expand 10 before | Expand all | Expand 10 after
7890 #undef WRITE_INT64_FIELD 7891 #undef WRITE_INT64_FIELD
7891 #undef READ_BYTE_FIELD 7892 #undef READ_BYTE_FIELD
7892 #undef WRITE_BYTE_FIELD 7893 #undef WRITE_BYTE_FIELD
7893 #undef NOBARRIER_READ_BYTE_FIELD 7894 #undef NOBARRIER_READ_BYTE_FIELD
7894 #undef NOBARRIER_WRITE_BYTE_FIELD 7895 #undef NOBARRIER_WRITE_BYTE_FIELD
7895 7896
7896 } // namespace internal 7897 } // namespace internal
7897 } // namespace v8 7898 } // namespace v8
7898 7899
7899 #endif // V8_OBJECTS_INL_H_ 7900 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698