1 | // Copyright 2018 the V8 project authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #ifndef V8_CONSTANTS_ARCH_H_ |
6 | #define V8_CONSTANTS_ARCH_H_ |
7 | |
8 | #if V8_TARGET_ARCH_ARM |
9 | #include "src/arm/constants-arm.h" // NOLINT |
10 | #elif V8_TARGET_ARCH_ARM64 |
11 | #include "src/arm64/constants-arm64.h" // NOLINT |
12 | #elif V8_TARGET_ARCH_IA32 |
13 | #include "src/ia32/constants-ia32.h" // NOLINT |
14 | #elif V8_TARGET_ARCH_MIPS |
15 | #include "src/mips/constants-mips.h" // NOLINT |
16 | #elif V8_TARGET_ARCH_MIPS64 |
17 | #include "src/mips64/constants-mips64.h" // NOLINT |
18 | #elif V8_TARGET_ARCH_PPC |
19 | #include "src/ppc/constants-ppc.h" // NOLINT |
20 | #elif V8_TARGET_ARCH_S390 |
21 | #include "src/s390/constants-s390.h" // NOLINT |
22 | #elif V8_TARGET_ARCH_X64 |
23 | #include "src/x64/constants-x64.h" // NOLINT |
24 | #else |
25 | #error Unsupported target architecture. |
26 | #endif |
27 | |
28 | #endif // V8_CONSTANTS_ARCH_H_ |
29 | |