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

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

Issue 1642223003: [api] Make ObjectTemplate::SetNativeDataProperty() work even if the ObjectTemplate does not have a … (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed asserts preventing JSReceiver properties in ObjectTemplate Created 4 years, 10 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') | 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 5528 matching lines...) Expand 10 before | Expand all | Expand 10 after
5539 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols, 5539 BOOL_ACCESSORS(InterceptorInfo, flags, can_intercept_symbols,
5540 kCanInterceptSymbolsBit) 5540 kCanInterceptSymbolsBit)
5541 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit) 5541 BOOL_ACCESSORS(InterceptorInfo, flags, all_can_read, kAllCanReadBit)
5542 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking) 5542 BOOL_ACCESSORS(InterceptorInfo, flags, non_masking, kNonMasking)
5543 5543
5544 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset) 5544 ACCESSORS(CallHandlerInfo, callback, Object, kCallbackOffset)
5545 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset) 5545 ACCESSORS(CallHandlerInfo, data, Object, kDataOffset)
5546 ACCESSORS(CallHandlerInfo, fast_handler, Object, kFastHandlerOffset) 5546 ACCESSORS(CallHandlerInfo, fast_handler, Object, kFastHandlerOffset)
5547 5547
5548 ACCESSORS(TemplateInfo, tag, Object, kTagOffset) 5548 ACCESSORS(TemplateInfo, tag, Object, kTagOffset)
5549 ACCESSORS(TemplateInfo, serial_number, Object, kSerialNumberOffset)
5549 SMI_ACCESSORS(TemplateInfo, number_of_properties, kNumberOfProperties) 5550 SMI_ACCESSORS(TemplateInfo, number_of_properties, kNumberOfProperties)
5550 ACCESSORS(TemplateInfo, property_list, Object, kPropertyListOffset) 5551 ACCESSORS(TemplateInfo, property_list, Object, kPropertyListOffset)
5551 ACCESSORS(TemplateInfo, property_accessors, Object, kPropertyAccessorsOffset) 5552 ACCESSORS(TemplateInfo, property_accessors, Object, kPropertyAccessorsOffset)
5552 5553
5553 ACCESSORS(FunctionTemplateInfo, serial_number, Object, kSerialNumberOffset)
5554 ACCESSORS(FunctionTemplateInfo, call_code, Object, kCallCodeOffset) 5554 ACCESSORS(FunctionTemplateInfo, call_code, Object, kCallCodeOffset)
5555 ACCESSORS(FunctionTemplateInfo, prototype_template, Object, 5555 ACCESSORS(FunctionTemplateInfo, prototype_template, Object,
5556 kPrototypeTemplateOffset) 5556 kPrototypeTemplateOffset)
5557 ACCESSORS(FunctionTemplateInfo, parent_template, Object, kParentTemplateOffset) 5557 ACCESSORS(FunctionTemplateInfo, parent_template, Object, kParentTemplateOffset)
5558 ACCESSORS(FunctionTemplateInfo, named_property_handler, Object, 5558 ACCESSORS(FunctionTemplateInfo, named_property_handler, Object,
5559 kNamedPropertyHandlerOffset) 5559 kNamedPropertyHandlerOffset)
5560 ACCESSORS(FunctionTemplateInfo, indexed_property_handler, Object, 5560 ACCESSORS(FunctionTemplateInfo, indexed_property_handler, Object,
5561 kIndexedPropertyHandlerOffset) 5561 kIndexedPropertyHandlerOffset)
5562 ACCESSORS(FunctionTemplateInfo, instance_template, Object, 5562 ACCESSORS(FunctionTemplateInfo, instance_template, Object,
5563 kInstanceTemplateOffset) 5563 kInstanceTemplateOffset)
(...skipping 2278 matching lines...) Expand 10 before | Expand all | Expand 10 after
7842 #undef WRITE_INT64_FIELD 7842 #undef WRITE_INT64_FIELD
7843 #undef READ_BYTE_FIELD 7843 #undef READ_BYTE_FIELD
7844 #undef WRITE_BYTE_FIELD 7844 #undef WRITE_BYTE_FIELD
7845 #undef NOBARRIER_READ_BYTE_FIELD 7845 #undef NOBARRIER_READ_BYTE_FIELD
7846 #undef NOBARRIER_WRITE_BYTE_FIELD 7846 #undef NOBARRIER_WRITE_BYTE_FIELD
7847 7847
7848 } // namespace internal 7848 } // namespace internal
7849 } // namespace v8 7849 } // namespace v8
7850 7850
7851 #endif // V8_OBJECTS_INL_H_ 7851 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698