Rubin Xu | 6e1e26a | 2021-02-10 00:04:48 +0000 | [diff] [blame^] | 1 | // Copyright 2016 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_ASSEMBLER_INL_H_ |
| 6 | #define V8_CODEGEN_ASSEMBLER_INL_H_ |
| 7 | |
| 8 | #include "src/codegen/assembler.h" |
| 9 | |
| 10 | #if V8_TARGET_ARCH_IA32 |
| 11 | #include "src/codegen/ia32/assembler-ia32-inl.h" |
| 12 | #elif V8_TARGET_ARCH_X64 |
| 13 | #include "src/codegen/x64/assembler-x64-inl.h" |
| 14 | #elif V8_TARGET_ARCH_ARM64 |
| 15 | #include "src/codegen/arm64/assembler-arm64-inl.h" |
| 16 | #elif V8_TARGET_ARCH_ARM |
| 17 | #include "src/codegen/arm/assembler-arm-inl.h" |
| 18 | #elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64 |
| 19 | #include "src/codegen/ppc/assembler-ppc-inl.h" |
| 20 | #elif V8_TARGET_ARCH_MIPS |
| 21 | #include "src/codegen/mips/assembler-mips-inl.h" |
| 22 | #elif V8_TARGET_ARCH_MIPS64 |
| 23 | #include "src/codegen/mips64/assembler-mips64-inl.h" |
| 24 | #elif V8_TARGET_ARCH_S390 |
| 25 | #include "src/codegen/s390/assembler-s390-inl.h" |
| 26 | #else |
| 27 | #error Unknown architecture. |
| 28 | #endif |
| 29 | |
| 30 | #endif // V8_CODEGEN_ASSEMBLER_INL_H_ |