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