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 11438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11449 DECL_BOOLEAN_ACCESSORS(accept_any_receiver) | 11449 DECL_BOOLEAN_ACCESSORS(accept_any_receiver) |
11450 | 11450 |
11451 DECL_ACCESSORS(cached_property_name, Object) | 11451 DECL_ACCESSORS(cached_property_name, Object) |
11452 | 11452 |
11453 DECLARE_CAST(FunctionTemplateInfo) | 11453 DECLARE_CAST(FunctionTemplateInfo) |
11454 | 11454 |
11455 // Dispatched behavior. | 11455 // Dispatched behavior. |
11456 DECLARE_PRINTER(FunctionTemplateInfo) | 11456 DECLARE_PRINTER(FunctionTemplateInfo) |
11457 DECLARE_VERIFIER(FunctionTemplateInfo) | 11457 DECLARE_VERIFIER(FunctionTemplateInfo) |
11458 | 11458 |
| 11459 static const int kInvalidSerialNumber = 0; |
| 11460 |
11459 static const int kCallCodeOffset = TemplateInfo::kHeaderSize; | 11461 static const int kCallCodeOffset = TemplateInfo::kHeaderSize; |
11460 static const int kPrototypeTemplateOffset = | 11462 static const int kPrototypeTemplateOffset = |
11461 kCallCodeOffset + kPointerSize; | 11463 kCallCodeOffset + kPointerSize; |
11462 static const int kPrototypeProviderTemplateOffset = | 11464 static const int kPrototypeProviderTemplateOffset = |
11463 kPrototypeTemplateOffset + kPointerSize; | 11465 kPrototypeTemplateOffset + kPointerSize; |
11464 static const int kParentTemplateOffset = | 11466 static const int kParentTemplateOffset = |
11465 kPrototypeProviderTemplateOffset + kPointerSize; | 11467 kPrototypeProviderTemplateOffset + kPointerSize; |
11466 static const int kNamedPropertyHandlerOffset = | 11468 static const int kNamedPropertyHandlerOffset = |
11467 kParentTemplateOffset + kPointerSize; | 11469 kParentTemplateOffset + kPointerSize; |
11468 static const int kIndexedPropertyHandlerOffset = | 11470 static const int kIndexedPropertyHandlerOffset = |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11756 } | 11758 } |
11757 }; | 11759 }; |
11758 | 11760 |
11759 | 11761 |
11760 } // NOLINT, false-positive due to second-order macros. | 11762 } // NOLINT, false-positive due to second-order macros. |
11761 } // NOLINT, false-positive due to second-order macros. | 11763 } // NOLINT, false-positive due to second-order macros. |
11762 | 11764 |
11763 #include "src/objects/object-macros-undef.h" | 11765 #include "src/objects/object-macros-undef.h" |
11764 | 11766 |
11765 #endif // V8_OBJECTS_H_ | 11767 #endif // V8_OBJECTS_H_ |
OLD | NEW |