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(AllocationSiteMap, AllocationSiteMap) \ | 26 V(AllocationSiteMap, AllocationSiteMap) \ |
27 V(BooleanMap, BooleanMap) \ | 27 V(BooleanMap, BooleanMap) \ |
28 V(CodeMap, CodeMap) \ | 28 V(CodeMap, CodeMap) \ |
29 V(empty_string, EmptyString) \ | 29 V(empty_string, EmptyString) \ |
30 V(EmptyFixedArray, EmptyFixedArray) \ | 30 V(EmptyFixedArray, EmptyFixedArray) \ |
31 V(EmptyLiteralsArray, EmptyLiteralsArray) \ | 31 V(EmptyTypeFeedbackVector, EmptyTypeFeedbackVector) \ |
32 V(FalseValue, False) \ | 32 V(FalseValue, False) \ |
33 V(FixedArrayMap, FixedArrayMap) \ | 33 V(FixedArrayMap, FixedArrayMap) \ |
34 V(FixedCOWArrayMap, FixedCOWArrayMap) \ | 34 V(FixedCOWArrayMap, FixedCOWArrayMap) \ |
35 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ | 35 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ |
36 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ | 36 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ |
37 V(HeapNumberMap, HeapNumberMap) \ | 37 V(HeapNumberMap, HeapNumberMap) \ |
38 V(MinusZeroValue, MinusZero) \ | 38 V(MinusZeroValue, MinusZero) \ |
39 V(NanValue, Nan) \ | 39 V(NanValue, Nan) \ |
40 V(NullValue, Null) \ | 40 V(NullValue, Null) \ |
41 V(SymbolMap, SymbolMap) \ | 41 V(SymbolMap, SymbolMap) \ |
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1304 } | 1304 } |
1305 #else | 1305 #else |
1306 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1306 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1307 #endif | 1307 #endif |
1308 | 1308 |
1309 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1309 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1310 | 1310 |
1311 } // namespace internal | 1311 } // namespace internal |
1312 } // namespace v8 | 1312 } // namespace v8 |
1313 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1313 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |