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_CODEGEN_CONSTANTS_ARCH_H_ 6 #define V8_CODEGEN_CONSTANTS_ARCH_H_ 7 8 #if V8_TARGET_ARCH_ARM 9 #include "src/codegen/arm/constants-arm.h" // NOLINT 10 #elif V8_TARGET_ARCH_ARM64 11 #include "src/codegen/arm64/constants-arm64.h" // NOLINT 12 #elif V8_TARGET_ARCH_IA32 13 #include "src/codegen/ia32/constants-ia32.h" // NOLINT 14 #elif V8_TARGET_ARCH_MIPS 15 #include "src/codegen/mips/constants-mips.h" // NOLINT 16 #elif V8_TARGET_ARCH_MIPS64 17 #include "src/codegen/mips64/constants-mips64.h" // NOLINT 18 #elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64 19 #include "src/codegen/ppc/constants-ppc.h" // NOLINT 20 #elif V8_TARGET_ARCH_S390 21 #include "src/codegen/s390/constants-s390.h" // NOLINT 22 #elif V8_TARGET_ARCH_X64 23 #include "src/codegen/x64/constants-x64.h" // NOLINT 24 #else 25 #error Unsupported target architecture. 26 #endif 27 28 #endif // V8_CODEGEN_CONSTANTS_ARCH_H_ 29