blob: 910e1674cac33fc340c7c0e1e3fdf513b2563f85 [file] [log] [blame]
christian.plesner.hansen@gmail.com9d58c2b2009-10-16 11:48:38 +00001// Copyright 2009 the V8 project authors. All rights reserved.
rossberg@chromium.org34849642014-04-29 16:30:47 +00002// 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.com9d58c2b2009-10-16 11:48:38 +00004
ager@chromium.orgc4c92722009-11-18 14:12:51 +00005#ifndef V8_SIMULATOR_H_
6#define V8_SIMULATOR_H_
christian.plesner.hansen@gmail.com9d58c2b2009-10-16 11:48:38 +00007
ager@chromium.orgc4c92722009-11-18 14:12:51 +00008#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.orgfa0c3c62014-03-24 08:11:09 +000012#elif V8_TARGET_ARCH_ARM64
13#include "arm64/simulator-arm64.h"
ager@chromium.orgc4c92722009-11-18 14:12:51 +000014#elif V8_TARGET_ARCH_ARM
15#include "arm/simulator-arm.h"
ager@chromium.org5c838252010-02-19 08:53:10 +000016#elif V8_TARGET_ARCH_MIPS
17#include "mips/simulator-mips.h"
ager@chromium.orgc4c92722009-11-18 14:12:51 +000018#else
19#error Unsupported target architecture.
20#endif
christian.plesner.hansen@gmail.com9d58c2b2009-10-16 11:48:38 +000021
ager@chromium.orgc4c92722009-11-18 14:12:51 +000022#endif // V8_SIMULATOR_H_