2009-11-05 13:27:21 +00:00
|
|
|
// Copyright 2009 the V8 project authors. All rights reserved.
|
2014-04-29 06:42:26 +00:00
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
2009-11-05 13:27:21 +00:00
|
|
|
|
|
|
|
#ifndef V8_SIMULATOR_H_
|
|
|
|
#define V8_SIMULATOR_H_
|
|
|
|
|
|
|
|
#if V8_TARGET_ARCH_IA32
|
2014-06-03 08:12:43 +00:00
|
|
|
#include "src/ia32/simulator-ia32.h"
|
2009-11-05 13:27:21 +00:00
|
|
|
#elif V8_TARGET_ARCH_X64
|
2014-06-03 08:12:43 +00:00
|
|
|
#include "src/x64/simulator-x64.h"
|
2014-03-21 09:28:26 +00:00
|
|
|
#elif V8_TARGET_ARCH_ARM64
|
2014-06-03 08:12:43 +00:00
|
|
|
#include "src/arm64/simulator-arm64.h"
|
2009-11-05 13:27:21 +00:00
|
|
|
#elif V8_TARGET_ARCH_ARM
|
2014-06-03 08:12:43 +00:00
|
|
|
#include "src/arm/simulator-arm.h"
|
2015-01-16 07:42:00 +00:00
|
|
|
#elif V8_TARGET_ARCH_PPC
|
|
|
|
#include "src/ppc/simulator-ppc.h"
|
2010-02-04 20:36:58 +00:00
|
|
|
#elif V8_TARGET_ARCH_MIPS
|
2014-06-03 08:12:43 +00:00
|
|
|
#include "src/mips/simulator-mips.h"
|
2014-07-09 11:08:26 +00:00
|
|
|
#elif V8_TARGET_ARCH_MIPS64
|
|
|
|
#include "src/mips64/simulator-mips64.h"
|
2016-03-10 14:02:50 +00:00
|
|
|
#elif V8_TARGET_ARCH_S390
|
|
|
|
#include "src/s390/simulator-s390.h"
|
2014-05-23 16:37:27 +00:00
|
|
|
#elif V8_TARGET_ARCH_X87
|
2014-06-03 08:12:43 +00:00
|
|
|
#include "src/x87/simulator-x87.h"
|
2009-11-05 13:27:21 +00:00
|
|
|
#else
|
|
|
|
#error Unsupported target architecture.
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // V8_SIMULATOR_H_
|