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" 10#elif V8_TARGET_ARCH_ARM64 11#include "src/codegen/arm64/constants-arm64.h" 12#elif V8_TARGET_ARCH_IA32 13#include "src/codegen/ia32/constants-ia32.h" 14#elif V8_TARGET_ARCH_MIPS 15#include "src/codegen/mips/constants-mips.h" 16#elif V8_TARGET_ARCH_MIPS64 17#include "src/codegen/mips64/constants-mips64.h" 18#elif V8_TARGET_ARCH_LOONG64 19#include "src/codegen/loong64/constants-loong64.h" 20#elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64 21#include "src/codegen/ppc/constants-ppc.h" 22#elif V8_TARGET_ARCH_S390 23#include "src/codegen/s390/constants-s390.h" 24#elif V8_TARGET_ARCH_X64 25#include "src/codegen/x64/constants-x64.h" 26#elif V8_TARGET_ARCH_RISCV64 27#include "src/codegen/riscv64/constants-riscv64.h" 28#else 29#error Unsupported target architecture. 30#endif 31 32#endif // V8_CODEGEN_CONSTANTS_ARCH_H_ 33