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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 STATIC_ASSERT(JS_OBJECT_TYPE == Internals::kJSObjectType); | 761 STATIC_ASSERT(JS_OBJECT_TYPE == Internals::kJSObjectType); |
762 STATIC_ASSERT(JS_API_OBJECT_TYPE == Internals::kJSApiObjectType); | 762 STATIC_ASSERT(JS_API_OBJECT_TYPE == Internals::kJSApiObjectType); |
763 STATIC_ASSERT(FIRST_NONSTRING_TYPE == Internals::kFirstNonstringType); | 763 STATIC_ASSERT(FIRST_NONSTRING_TYPE == Internals::kFirstNonstringType); |
764 STATIC_ASSERT(ODDBALL_TYPE == Internals::kOddballType); | 764 STATIC_ASSERT(ODDBALL_TYPE == Internals::kOddballType); |
765 STATIC_ASSERT(FOREIGN_TYPE == Internals::kForeignType); | 765 STATIC_ASSERT(FOREIGN_TYPE == Internals::kForeignType); |
766 | 766 |
767 | 767 |
768 std::ostream& operator<<(std::ostream& os, InstanceType instance_type); | 768 std::ostream& operator<<(std::ostream& os, InstanceType instance_type); |
769 | 769 |
770 #define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(V) \ | 770 #define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(V) \ |
| 771 V(BYTECODE_ARRAY_CONSTANT_POOL_SUB_TYPE) \ |
| 772 V(BYTECODE_ARRAY_HANDLER_TABLE_SUB_TYPE) \ |
771 V(CODE_STUBS_TABLE_SUB_TYPE) \ | 773 V(CODE_STUBS_TABLE_SUB_TYPE) \ |
772 V(CONTEXT_SUB_TYPE) \ | 774 V(CONTEXT_SUB_TYPE) \ |
773 V(COPY_ON_WRITE_SUB_TYPE) \ | 775 V(COPY_ON_WRITE_SUB_TYPE) \ |
774 V(DEOPTIMIZATION_DATA_SUB_TYPE) \ | 776 V(DEOPTIMIZATION_DATA_SUB_TYPE) \ |
775 V(DESCRIPTOR_ARRAY_SUB_TYPE) \ | 777 V(DESCRIPTOR_ARRAY_SUB_TYPE) \ |
776 V(EMBEDDED_OBJECT_SUB_TYPE) \ | 778 V(EMBEDDED_OBJECT_SUB_TYPE) \ |
777 V(ENUM_CACHE_SUB_TYPE) \ | 779 V(ENUM_CACHE_SUB_TYPE) \ |
778 V(ENUM_INDICES_CACHE_SUB_TYPE) \ | 780 V(ENUM_INDICES_CACHE_SUB_TYPE) \ |
779 V(DEPENDENT_CODE_SUB_TYPE) \ | 781 V(DEPENDENT_CODE_SUB_TYPE) \ |
780 V(DICTIONARY_ELEMENTS_SUB_TYPE) \ | 782 V(DICTIONARY_ELEMENTS_SUB_TYPE) \ |
(...skipping 10252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11033 } | 11035 } |
11034 return value; | 11036 return value; |
11035 } | 11037 } |
11036 }; | 11038 }; |
11037 | 11039 |
11038 | 11040 |
11039 } // NOLINT, false-positive due to second-order macros. | 11041 } // NOLINT, false-positive due to second-order macros. |
11040 } // NOLINT, false-positive due to second-order macros. | 11042 } // NOLINT, false-positive due to second-order macros. |
11041 | 11043 |
11042 #endif // V8_OBJECTS_H_ | 11044 #endif // V8_OBJECTS_H_ |
OLD | NEW |