| 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 | 16 #elif V8_TARGET_ARCH_PPC |
| 17 #include "src/ppc/simulator-ppc.h" | 17 #include "src/ppc/simulator-ppc.h" |
| 18 #elif V8_TARGET_ARCH_MIPS | 18 #elif V8_TARGET_ARCH_MIPS |
| 19 #include "src/mips/simulator-mips.h" | 19 #include "src/mips/simulator-mips.h" |
| 20 #elif V8_TARGET_ARCH_MIPS64 | 20 #elif V8_TARGET_ARCH_MIPS64 |
| 21 #include "src/mips64/simulator-mips64.h" | 21 #include "src/mips64/simulator-mips64.h" |
| 22 #elif V8_TARGET_ARCH_S390 |
| 23 #include "src/s390/simulator-s390.h" |
| 22 #elif V8_TARGET_ARCH_X87 | 24 #elif V8_TARGET_ARCH_X87 |
| 23 #include "src/x87/simulator-x87.h" | 25 #include "src/x87/simulator-x87.h" |
| 24 #else | 26 #else |
| 25 #error Unsupported target architecture. | 27 #error Unsupported target architecture. |
| 26 #endif | 28 #endif |
| 27 | 29 |
| 28 #endif // V8_SIMULATOR_H_ | 30 #endif // V8_SIMULATOR_H_ |
| OLD | NEW |