blob: ca23889b90174505c7c8d794f7eba81724e745ae [file] [log] [blame]
Steve Block3ce2e202009-11-05 08:53:23 +00001// Copyright 2009 the V8 project authors. All rights reserved.
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
Steve Block3ce2e202009-11-05 08:53:23 +00004
Steve Blockd0582a62009-12-15 09:54:21 +00005#ifndef V8_SIMULATOR_H_
6#define V8_SIMULATOR_H_
Steve Block3ce2e202009-11-05 08:53:23 +00007
Steve Blockd0582a62009-12-15 09:54:21 +00008#if V8_TARGET_ARCH_IA32
Ben Murdochb8a8cc12014-11-26 15:28:44 +00009#include "src/ia32/simulator-ia32.h"
Steve Blockd0582a62009-12-15 09:54:21 +000010#elif V8_TARGET_ARCH_X64
Ben Murdochb8a8cc12014-11-26 15:28:44 +000011#include "src/x64/simulator-x64.h"
12#elif V8_TARGET_ARCH_ARM64
13#include "src/arm64/simulator-arm64.h"
Steve Blockd0582a62009-12-15 09:54:21 +000014#elif V8_TARGET_ARCH_ARM
Ben Murdochb8a8cc12014-11-26 15:28:44 +000015#include "src/arm/simulator-arm.h"
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000016#elif V8_TARGET_ARCH_PPC
17#include "src/ppc/simulator-ppc.h"
Andrei Popescu31002712010-02-23 13:46:05 +000018#elif V8_TARGET_ARCH_MIPS
Ben Murdochb8a8cc12014-11-26 15:28:44 +000019#include "src/mips/simulator-mips.h"
20#elif V8_TARGET_ARCH_MIPS64
21#include "src/mips64/simulator-mips64.h"
Ben Murdochda12d292016-06-02 14:46:10 +010022#elif V8_TARGET_ARCH_S390
23#include "src/s390/simulator-s390.h"
Ben Murdochb8a8cc12014-11-26 15:28:44 +000024#elif V8_TARGET_ARCH_X87
25#include "src/x87/simulator-x87.h"
Steve Blockd0582a62009-12-15 09:54:21 +000026#else
27#error Unsupported target architecture.
28#endif
Steve Block3ce2e202009-11-05 08:53:23 +000029
Steve Blockd0582a62009-12-15 09:54:21 +000030#endif // V8_SIMULATOR_H_