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