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