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 3 // found in the LICENSE file. 4 5 #ifndef V8_SIMULATOR_H_ 6 #define V8_SIMULATOR_H_ 7 8 #if V8_TARGET_ARCH_IA32 9 #include "src/ia32/simulator-ia32.h" 10 #elif V8_TARGET_ARCH_X64 11 #include "src/x64/simulator-x64.h" 12 #elif V8_TARGET_ARCH_ARM64 13 #include "src/arm64/simulator-arm64.h" 14 #elif V8_TARGET_ARCH_ARM 15 #include "src/arm/simulator-arm.h" 16 #elif V8_TARGET_ARCH_PPC 17 #include "src/ppc/simulator-ppc.h" 18 #elif V8_TARGET_ARCH_MIPS 19 #include "src/mips/simulator-mips.h" 20 #elif V8_TARGET_ARCH_MIPS64 21 #include "src/mips64/simulator-mips64.h" 22 #elif V8_TARGET_ARCH_X87 23 #include "src/x87/simulator-x87.h" 24 #else 25 #error Unsupported target architecture. 26 #endif 27 28 #endif // V8_SIMULATOR_H_ 29