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