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