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" |
11 #include "src/globals.h" | 11 #include "src/globals.h" |
12 #include "src/objects.h" | 12 #include "src/objects.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 class CallInterfaceDescriptor; | 17 class CallInterfaceDescriptor; |
18 class StatsCounter; | 18 class StatsCounter; |
19 class StubCache; | 19 class StubCache; |
20 | 20 |
21 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol }; | 21 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol }; |
22 | 22 |
23 #define HEAP_CONSTANT_LIST(V) \ | 23 #define HEAP_CONSTANT_LIST(V) \ |
24 V(AccessorPairMap, AccessorPairMap) \ | 24 V(AccessorInfoMap, AccessorInfoMap) \ |
25 V(BooleanMap, BooleanMap) \ | 25 V(BooleanMap, BooleanMap) \ |
26 V(CodeMap, CodeMap) \ | 26 V(CodeMap, CodeMap) \ |
27 V(empty_string, EmptyString) \ | 27 V(empty_string, EmptyString) \ |
28 V(EmptyFixedArray, EmptyFixedArray) \ | 28 V(EmptyFixedArray, EmptyFixedArray) \ |
29 V(FalseValue, False) \ | 29 V(FalseValue, False) \ |
30 V(FixedArrayMap, FixedArrayMap) \ | 30 V(FixedArrayMap, FixedArrayMap) \ |
31 V(FixedCOWArrayMap, FixedCOWArrayMap) \ | 31 V(FixedCOWArrayMap, FixedCOWArrayMap) \ |
32 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ | 32 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ |
33 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ | 33 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ |
34 V(HeapNumberMap, HeapNumberMap) \ | 34 V(HeapNumberMap, HeapNumberMap) \ |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 } | 1210 } |
1211 #else | 1211 #else |
1212 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1212 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1213 #endif | 1213 #endif |
1214 | 1214 |
1215 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1215 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1216 | 1216 |
1217 } // namespace internal | 1217 } // namespace internal |
1218 } // namespace v8 | 1218 } // namespace v8 |
1219 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1219 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |