| 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 enum class IterationKind { kKeys, kValues, kEntries }; | |
| 24 | |
| 25 #define HEAP_CONSTANT_LIST(V) \ | 23 #define HEAP_CONSTANT_LIST(V) \ |
| 26 V(BooleanMap, BooleanMap) \ | 24 V(BooleanMap, BooleanMap) \ |
| 27 V(empty_string, EmptyString) \ | 25 V(empty_string, EmptyString) \ |
| 28 V(EmptyFixedArray, EmptyFixedArray) \ | 26 V(EmptyFixedArray, EmptyFixedArray) \ |
| 29 V(FalseValue, False) \ | 27 V(FalseValue, False) \ |
| 30 V(FixedArrayMap, FixedArrayMap) \ | 28 V(FixedArrayMap, FixedArrayMap) \ |
| 31 V(FixedCOWArrayMap, FixedCOWArrayMap) \ | 29 V(FixedCOWArrayMap, FixedCOWArrayMap) \ |
| 32 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ | 30 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ |
| 33 V(HeapNumberMap, HeapNumberMap) \ | 31 V(HeapNumberMap, HeapNumberMap) \ |
| 34 V(MinusZeroValue, MinusZero) \ | 32 V(MinusZeroValue, MinusZero) \ |
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1270 } | 1268 } |
| 1271 #else | 1269 #else |
| 1272 #define CSA_SLOW_ASSERT(x) | 1270 #define CSA_SLOW_ASSERT(x) |
| 1273 #endif | 1271 #endif |
| 1274 | 1272 |
| 1275 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1273 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1276 | 1274 |
| 1277 } // namespace internal | 1275 } // namespace internal |
| 1278 } // namespace v8 | 1276 } // namespace v8 |
| 1279 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1277 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |