2020-10-01 11:44:09 +00:00
|
|
|
#ifndef ARMJIT_COMPILER_H
|
|
|
|
#define ARMJIT_COMPILER_H
|
|
|
|
|
2020-06-14 19:04:25 +00:00
|
|
|
#if defined(__x86_64__)
|
|
|
|
#include "ARMJIT_x64/ARMJIT_Compiler.h"
|
|
|
|
#elif defined(__aarch64__)
|
|
|
|
#include "ARMJIT_A64/ARMJIT_Compiler.h"
|
|
|
|
#else
|
|
|
|
#error "The current target platform doesn't have a JIT backend"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace ARMJIT
|
|
|
|
{
|
|
|
|
extern Compiler* JITCompiler;
|
2020-10-01 11:44:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|