OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_ |
6 #define V8_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_CODE_STUB_ASSEMBLER_H_ |
7 | 7 |
8 #include <functional> | 8 #include <functional> |
9 | 9 |
10 #include "src/compiler/code-assembler.h" | 10 #include "src/compiler/code-assembler.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol }; | 22 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol }; |
23 | 23 |
24 #define HEAP_CONSTANT_LIST(V) \ | 24 #define HEAP_CONSTANT_LIST(V) \ |
25 V(AccessorInfoMap, AccessorInfoMap) \ | 25 V(AccessorInfoMap, AccessorInfoMap) \ |
26 V(AccessorPairMap, AccessorPairMap) \ | 26 V(AccessorPairMap, AccessorPairMap) \ |
27 V(AllocationSiteMap, AllocationSiteMap) \ | 27 V(AllocationSiteMap, AllocationSiteMap) \ |
28 V(BooleanMap, BooleanMap) \ | 28 V(BooleanMap, BooleanMap) \ |
29 V(CodeMap, CodeMap) \ | 29 V(CodeMap, CodeMap) \ |
30 V(empty_string, EmptyString) \ | 30 V(empty_string, EmptyString) \ |
| 31 V(length_string, LengthString) \ |
31 V(EmptyFixedArray, EmptyFixedArray) \ | 32 V(EmptyFixedArray, EmptyFixedArray) \ |
32 V(FalseValue, False) \ | 33 V(FalseValue, False) \ |
33 V(FixedArrayMap, FixedArrayMap) \ | 34 V(FixedArrayMap, FixedArrayMap) \ |
34 V(FixedCOWArrayMap, FixedCOWArrayMap) \ | 35 V(FixedCOWArrayMap, FixedCOWArrayMap) \ |
35 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ | 36 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ |
36 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ | 37 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ |
37 V(has_instance_symbol, HasInstanceSymbol) \ | 38 V(has_instance_symbol, HasInstanceSymbol) \ |
38 V(HeapNumberMap, HeapNumberMap) \ | 39 V(HeapNumberMap, HeapNumberMap) \ |
39 V(NoClosuresCellMap, NoClosuresCellMap) \ | 40 V(NoClosuresCellMap, NoClosuresCellMap) \ |
40 V(OneClosureCellMap, OneClosureCellMap) \ | 41 V(OneClosureCellMap, OneClosureCellMap) \ |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 Node* IsJSGlobalProxy(Node* object); | 738 Node* IsJSGlobalProxy(Node* object); |
738 Node* IsJSReceiverInstanceType(Node* instance_type); | 739 Node* IsJSReceiverInstanceType(Node* instance_type); |
739 Node* IsJSReceiver(Node* object); | 740 Node* IsJSReceiver(Node* object); |
740 Node* IsJSReceiverMap(Node* map); | 741 Node* IsJSReceiverMap(Node* map); |
741 Node* IsMap(Node* object); | 742 Node* IsMap(Node* object); |
742 Node* IsCallableMap(Node* map); | 743 Node* IsCallableMap(Node* map); |
743 Node* IsDeprecatedMap(Node* map); | 744 Node* IsDeprecatedMap(Node* map); |
744 Node* IsCallable(Node* object); | 745 Node* IsCallable(Node* object); |
745 Node* IsBoolean(Node* object); | 746 Node* IsBoolean(Node* object); |
746 Node* IsPropertyCell(Node* object); | 747 Node* IsPropertyCell(Node* object); |
| 748 Node* IsAccessorInfo(Node* object); |
747 Node* IsAccessorPair(Node* object); | 749 Node* IsAccessorPair(Node* object); |
748 Node* IsHeapNumber(Node* object); | 750 Node* IsHeapNumber(Node* object); |
749 Node* IsName(Node* object); | 751 Node* IsName(Node* object); |
750 Node* IsSymbol(Node* object); | 752 Node* IsSymbol(Node* object); |
751 Node* IsPrivateSymbol(Node* object); | 753 Node* IsPrivateSymbol(Node* object); |
752 Node* IsJSValue(Node* object); | 754 Node* IsJSValue(Node* object); |
753 Node* IsJSArray(Node* object); | 755 Node* IsJSArray(Node* object); |
754 Node* IsNativeContext(Node* object); | 756 Node* IsNativeContext(Node* object); |
755 Node* IsWeakCell(Node* object); | 757 Node* IsWeakCell(Node* object); |
756 Node* IsFixedDoubleArray(Node* object); | 758 Node* IsFixedDoubleArray(Node* object); |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 } | 1576 } |
1575 #else | 1577 #else |
1576 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1578 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1577 #endif | 1579 #endif |
1578 | 1580 |
1579 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1581 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1580 | 1582 |
1581 } // namespace internal | 1583 } // namespace internal |
1582 } // namespace v8 | 1584 } // namespace v8 |
1583 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1585 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |