summaryrefslogtreecommitdiff
path: root/deps/v8/src/constants-arch.h
blob: 546d316cf4fd6984ded831241478775cbb29a972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_CONSTANTS_ARCH_H_
#define V8_CONSTANTS_ARCH_H_

#if V8_TARGET_ARCH_ARM
#include "src/arm/constants-arm.h"  // NOLINT
#elif V8_TARGET_ARCH_ARM64
#include "src/arm64/constants-arm64.h"  // NOLINT
#elif V8_TARGET_ARCH_IA32
#include "src/ia32/constants-ia32.h"  // NOLINT
#elif V8_TARGET_ARCH_MIPS
#include "src/mips/constants-mips.h"  // NOLINT
#elif V8_TARGET_ARCH_MIPS64
#include "src/mips64/constants-mips64.h"  // NOLINT
#elif V8_TARGET_ARCH_PPC
#include "src/ppc/constants-ppc.h"  // NOLINT
#elif V8_TARGET_ARCH_S390
#include "src/s390/constants-s390.h"  // NOLINT
#elif V8_TARGET_ARCH_X64
#include "src/x64/constants-x64.h"  // NOLINT
#else
#error Unsupported target architecture.
#endif

#endif  // V8_CONSTANTS_ARCH_H_