summaryrefslogtreecommitdiff
path: root/deps/v8/src/constants-arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/constants-arch.h')
-rw-r--r--deps/v8/src/constants-arch.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/deps/v8/src/constants-arch.h b/deps/v8/src/constants-arch.h
new file mode 100644
index 0000000000..546d316cf4
--- /dev/null
+++ b/deps/v8/src/constants-arch.h
@@ -0,0 +1,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_