| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 11530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11541 | 11541 |
| 11542 private: | 11542 private: |
| 11543 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); | 11543 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); |
| 11544 }; | 11544 }; |
| 11545 | 11545 |
| 11546 | 11546 |
| 11547 class FunctionTemplateInfo: public TemplateInfo { | 11547 class FunctionTemplateInfo: public TemplateInfo { |
| 11548 public: | 11548 public: |
| 11549 DECL_ACCESSORS(call_code, Object) | 11549 DECL_ACCESSORS(call_code, Object) |
| 11550 DECL_ACCESSORS(prototype_template, Object) | 11550 DECL_ACCESSORS(prototype_template, Object) |
| 11551 DECL_ACCESSORS(prototype_provider_template, Object) |
| 11551 DECL_ACCESSORS(parent_template, Object) | 11552 DECL_ACCESSORS(parent_template, Object) |
| 11552 DECL_ACCESSORS(named_property_handler, Object) | 11553 DECL_ACCESSORS(named_property_handler, Object) |
| 11553 DECL_ACCESSORS(indexed_property_handler, Object) | 11554 DECL_ACCESSORS(indexed_property_handler, Object) |
| 11554 DECL_ACCESSORS(instance_template, Object) | 11555 DECL_ACCESSORS(instance_template, Object) |
| 11555 DECL_ACCESSORS(class_name, Object) | 11556 DECL_ACCESSORS(class_name, Object) |
| 11556 DECL_ACCESSORS(signature, Object) | 11557 DECL_ACCESSORS(signature, Object) |
| 11557 DECL_ACCESSORS(instance_call_handler, Object) | 11558 DECL_ACCESSORS(instance_call_handler, Object) |
| 11558 DECL_ACCESSORS(access_check_info, Object) | 11559 DECL_ACCESSORS(access_check_info, Object) |
| 11559 DECL_ACCESSORS(shared_function_info, Object) | 11560 DECL_ACCESSORS(shared_function_info, Object) |
| 11560 DECL_ACCESSORS(js_function, Object) | 11561 DECL_ACCESSORS(js_function, Object) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 11578 | 11579 |
| 11579 DECLARE_CAST(FunctionTemplateInfo) | 11580 DECLARE_CAST(FunctionTemplateInfo) |
| 11580 | 11581 |
| 11581 // Dispatched behavior. | 11582 // Dispatched behavior. |
| 11582 DECLARE_PRINTER(FunctionTemplateInfo) | 11583 DECLARE_PRINTER(FunctionTemplateInfo) |
| 11583 DECLARE_VERIFIER(FunctionTemplateInfo) | 11584 DECLARE_VERIFIER(FunctionTemplateInfo) |
| 11584 | 11585 |
| 11585 static const int kCallCodeOffset = TemplateInfo::kHeaderSize; | 11586 static const int kCallCodeOffset = TemplateInfo::kHeaderSize; |
| 11586 static const int kPrototypeTemplateOffset = | 11587 static const int kPrototypeTemplateOffset = |
| 11587 kCallCodeOffset + kPointerSize; | 11588 kCallCodeOffset + kPointerSize; |
| 11589 static const int kPrototypeProviderTemplateOffset = |
| 11590 kPrototypeTemplateOffset + kPointerSize; |
| 11588 static const int kParentTemplateOffset = | 11591 static const int kParentTemplateOffset = |
| 11589 kPrototypeTemplateOffset + kPointerSize; | 11592 kPrototypeProviderTemplateOffset + kPointerSize; |
| 11590 static const int kNamedPropertyHandlerOffset = | 11593 static const int kNamedPropertyHandlerOffset = |
| 11591 kParentTemplateOffset + kPointerSize; | 11594 kParentTemplateOffset + kPointerSize; |
| 11592 static const int kIndexedPropertyHandlerOffset = | 11595 static const int kIndexedPropertyHandlerOffset = |
| 11593 kNamedPropertyHandlerOffset + kPointerSize; | 11596 kNamedPropertyHandlerOffset + kPointerSize; |
| 11594 static const int kInstanceTemplateOffset = | 11597 static const int kInstanceTemplateOffset = |
| 11595 kIndexedPropertyHandlerOffset + kPointerSize; | 11598 kIndexedPropertyHandlerOffset + kPointerSize; |
| 11596 static const int kClassNameOffset = kInstanceTemplateOffset + kPointerSize; | 11599 static const int kClassNameOffset = kInstanceTemplateOffset + kPointerSize; |
| 11597 static const int kSignatureOffset = kClassNameOffset + kPointerSize; | 11600 static const int kSignatureOffset = kClassNameOffset + kPointerSize; |
| 11598 static const int kInstanceCallHandlerOffset = kSignatureOffset + kPointerSize; | 11601 static const int kInstanceCallHandlerOffset = kSignatureOffset + kPointerSize; |
| 11599 static const int kAccessCheckInfoOffset = | 11602 static const int kAccessCheckInfoOffset = |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11878 } | 11881 } |
| 11879 return value; | 11882 return value; |
| 11880 } | 11883 } |
| 11881 }; | 11884 }; |
| 11882 | 11885 |
| 11883 | 11886 |
| 11884 } // NOLINT, false-positive due to second-order macros. | 11887 } // NOLINT, false-positive due to second-order macros. |
| 11885 } // NOLINT, false-positive due to second-order macros. | 11888 } // NOLINT, false-positive due to second-order macros. |
| 11886 | 11889 |
| 11887 #endif // V8_OBJECTS_H_ | 11890 #endif // V8_OBJECTS_H_ |
| OLD | NEW |