• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2022 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_REGISTER_ARCH_H_
6 #define V8_CODEGEN_REGISTER_ARCH_H_
7 
8 #include "src/codegen/register-base.h"
9 
10 #if V8_TARGET_ARCH_IA32
11 #include "src/codegen/ia32/register-ia32.h"
12 #elif V8_TARGET_ARCH_X64
13 #include "src/codegen/x64/register-x64.h"
14 #elif V8_TARGET_ARCH_ARM64
15 #include "src/codegen/arm64/register-arm64.h"
16 #elif V8_TARGET_ARCH_ARM
17 #include "src/codegen/arm/register-arm.h"
18 #elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64
19 #include "src/codegen/ppc/register-ppc.h"
20 #elif V8_TARGET_ARCH_MIPS
21 #include "src/codegen/mips/register-mips.h"
22 #elif V8_TARGET_ARCH_MIPS64
23 #include "src/codegen/mips64/register-mips64.h"
24 #elif V8_TARGET_ARCH_LOONG64
25 #include "src/codegen/loong64/register-loong64.h"
26 #elif V8_TARGET_ARCH_S390
27 #include "src/codegen/s390/register-s390.h"
28 #elif V8_TARGET_ARCH_RISCV64
29 #include "src/codegen/riscv64/register-riscv64.h"
30 #else
31 #error Unknown architecture.
32 #endif
33 
34 #endif  // V8_CODEGEN_REGISTER_ARCH_H_
35