OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_SIMULATOR_H_ | 5 #ifndef V8_SIMULATOR_H_ |
6 #define V8_SIMULATOR_H_ | 6 #define V8_SIMULATOR_H_ |
7 | 7 |
8 #if V8_TARGET_ARCH_IA32 | 8 #if V8_TARGET_ARCH_IA32 |
9 #include "src/ia32/simulator-ia32.h" | 9 #include "src/ia32/simulator-ia32.h" |
10 #elif V8_TARGET_ARCH_X64 | 10 #elif V8_TARGET_ARCH_X64 |
11 #include "src/x64/simulator-x64.h" | 11 #include "src/x64/simulator-x64.h" |
12 #elif V8_TARGET_ARCH_ARM64 | 12 #elif V8_TARGET_ARCH_ARM64 |
13 #include "src/arm64/simulator-arm64.h" | 13 #include "src/arm64/simulator-arm64.h" |
14 #elif V8_TARGET_ARCH_ARM | 14 #elif V8_TARGET_ARCH_ARM |
15 #include "src/arm/simulator-arm.h" | 15 #include "src/arm/simulator-arm.h" |
| 16 #elif V8_TARGET_ARCH_PPC |
| 17 #include "src/ppc/simulator-ppc.h" |
16 #elif V8_TARGET_ARCH_MIPS | 18 #elif V8_TARGET_ARCH_MIPS |
17 #include "src/mips/simulator-mips.h" | 19 #include "src/mips/simulator-mips.h" |
18 #elif V8_TARGET_ARCH_MIPS64 | 20 #elif V8_TARGET_ARCH_MIPS64 |
19 #include "src/mips64/simulator-mips64.h" | 21 #include "src/mips64/simulator-mips64.h" |
20 #elif V8_TARGET_ARCH_X87 | 22 #elif V8_TARGET_ARCH_X87 |
21 #include "src/x87/simulator-x87.h" | 23 #include "src/x87/simulator-x87.h" |
22 #else | 24 #else |
23 #error Unsupported target architecture. | 25 #error Unsupported target architecture. |
24 #endif | 26 #endif |
25 | 27 |
26 #endif // V8_SIMULATOR_H_ | 28 #endif // V8_SIMULATOR_H_ |
OLD | NEW |