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 "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 "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 "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 "arm/simulator-arm.h" | 15 #include "src/arm/simulator-arm.h" |
16 #elif V8_TARGET_ARCH_MIPS | 16 #elif V8_TARGET_ARCH_MIPS |
17 #include "mips/simulator-mips.h" | 17 #include "src/mips/simulator-mips.h" |
18 #elif V8_TARGET_ARCH_X87 | 18 #elif V8_TARGET_ARCH_X87 |
19 #include "x87/simulator-x87.h" | 19 #include "src/x87/simulator-x87.h" |
20 #else | 20 #else |
21 #error Unsupported target architecture. | 21 #error Unsupported target architecture. |
22 #endif | 22 #endif |
23 | 23 |
24 #endif // V8_SIMULATOR_H_ | 24 #endif // V8_SIMULATOR_H_ |
OLD | NEW |