christian.plesner.hansen@gmail.com | 9d58c2b | 2009-10-16 11:48:38 +0000 | [diff] [blame] | 1 | // Copyright 2009 the V8 project authors. All rights reserved. |
rossberg@chromium.org | 3484964 | 2014-04-29 16:30:47 +0000 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
christian.plesner.hansen@gmail.com | 9d58c2b | 2009-10-16 11:48:38 +0000 | [diff] [blame] | 4 | |
ager@chromium.org | c4c9272 | 2009-11-18 14:12:51 +0000 | [diff] [blame] | 5 | #ifndef V8_SIMULATOR_H_ |
| 6 | #define V8_SIMULATOR_H_ |
christian.plesner.hansen@gmail.com | 9d58c2b | 2009-10-16 11:48:38 +0000 | [diff] [blame] | 7 | |
ager@chromium.org | c4c9272 | 2009-11-18 14:12:51 +0000 | [diff] [blame] | 8 | #if V8_TARGET_ARCH_IA32 |
| 9 | #include "ia32/simulator-ia32.h" |
| 10 | #elif V8_TARGET_ARCH_X64 |
| 11 | #include "x64/simulator-x64.h" |
machenbach@chromium.org | fa0c3c6 | 2014-03-24 08:11:09 +0000 | [diff] [blame] | 12 | #elif V8_TARGET_ARCH_ARM64 |
| 13 | #include "arm64/simulator-arm64.h" |
ager@chromium.org | c4c9272 | 2009-11-18 14:12:51 +0000 | [diff] [blame] | 14 | #elif V8_TARGET_ARCH_ARM |
| 15 | #include "arm/simulator-arm.h" |
ager@chromium.org | 5c83825 | 2010-02-19 08:53:10 +0000 | [diff] [blame] | 16 | #elif V8_TARGET_ARCH_MIPS |
| 17 | #include "mips/simulator-mips.h" |
ager@chromium.org | c4c9272 | 2009-11-18 14:12:51 +0000 | [diff] [blame] | 18 | #else |
| 19 | #error Unsupported target architecture. |
| 20 | #endif |
christian.plesner.hansen@gmail.com | 9d58c2b | 2009-10-16 11:48:38 +0000 | [diff] [blame] | 21 | |
ager@chromium.org | c4c9272 | 2009-11-18 14:12:51 +0000 | [diff] [blame] | 22 | #endif // V8_SIMULATOR_H_ |