11cb0ef41Sopenharmony_ci// Copyright 2018 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci// found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ci#ifndef V8_CODEGEN_CONSTANTS_ARCH_H_ 61cb0ef41Sopenharmony_ci#define V8_CODEGEN_CONSTANTS_ARCH_H_ 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_ci#if V8_TARGET_ARCH_ARM 91cb0ef41Sopenharmony_ci#include "src/codegen/arm/constants-arm.h" 101cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_ARM64 111cb0ef41Sopenharmony_ci#include "src/codegen/arm64/constants-arm64.h" 121cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_IA32 131cb0ef41Sopenharmony_ci#include "src/codegen/ia32/constants-ia32.h" 141cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_MIPS 151cb0ef41Sopenharmony_ci#include "src/codegen/mips/constants-mips.h" 161cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_MIPS64 171cb0ef41Sopenharmony_ci#include "src/codegen/mips64/constants-mips64.h" 181cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_LOONG64 191cb0ef41Sopenharmony_ci#include "src/codegen/loong64/constants-loong64.h" 201cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64 211cb0ef41Sopenharmony_ci#include "src/codegen/ppc/constants-ppc.h" 221cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_S390 231cb0ef41Sopenharmony_ci#include "src/codegen/s390/constants-s390.h" 241cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_X64 251cb0ef41Sopenharmony_ci#include "src/codegen/x64/constants-x64.h" 261cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_RISCV64 271cb0ef41Sopenharmony_ci#include "src/codegen/riscv64/constants-riscv64.h" 281cb0ef41Sopenharmony_ci#else 291cb0ef41Sopenharmony_ci#error Unsupported target architecture. 301cb0ef41Sopenharmony_ci#endif 311cb0ef41Sopenharmony_ci 321cb0ef41Sopenharmony_ci#endif // V8_CODEGEN_CONSTANTS_ARCH_H_ 33