1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * vim: set ts=8 sts=2 et sw=2 tw=80:
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef jit_Assembler_h
8 #define jit_Assembler_h
10 #if defined(JS_CODEGEN_X86)
11 # include "jit/x86/Assembler-x86.h"
12 #elif defined(JS_CODEGEN_X64)
13 # include "jit/x64/Assembler-x64.h"
14 #elif defined(JS_CODEGEN_ARM)
15 # include "jit/arm/Assembler-arm.h"
16 #elif defined(JS_CODEGEN_ARM64)
17 # include "jit/arm64/Assembler-arm64.h"
18 #elif defined(JS_CODEGEN_MIPS32)
19 # include "jit/mips32/Assembler-mips32.h"
20 #elif defined(JS_CODEGEN_MIPS64)
21 # include "jit/mips64/Assembler-mips64.h"
22 #elif defined(JS_CODEGEN_LOONG64)
23 # include "jit/loong64/Assembler-loong64.h"
24 #elif defined(JS_CODEGEN_RISCV64)
25 # include "jit/riscv64/Assembler-riscv64.h"
26 #elif defined(JS_CODEGEN_WASM32)
27 # include "jit/wasm32/Assembler-wasm32.h"
28 #elif defined(JS_CODEGEN_NONE)
29 # include "jit/none/Assembler-none.h"
31 # error "Unknown architecture!"
34 #endif /* jit_Assembler_h */