v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
register-arch.h
Go to the documentation of this file.
1// Copyright 2022 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_CODEGEN_REGISTER_ARCH_H_
6#define V8_CODEGEN_REGISTER_ARCH_H_
7
9
10#if V8_TARGET_ARCH_IA32
12#elif V8_TARGET_ARCH_X64
14#elif V8_TARGET_ARCH_ARM64
16#elif V8_TARGET_ARCH_ARM
18#elif V8_TARGET_ARCH_PPC64
20#elif V8_TARGET_ARCH_MIPS64
22#elif V8_TARGET_ARCH_LOONG64
24#elif V8_TARGET_ARCH_S390X
26#elif V8_TARGET_ARCH_RISCV32 || V8_TARGET_ARCH_RISCV64
28#else
29#error Unknown architecture.
30#endif
31
32#endif // V8_CODEGEN_REGISTER_ARCH_H_