mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
Update for changes in the JIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10543 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e60a9165d
commit
61612df9cb
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#define DEBUG_TYPE "jit"
|
#define DEBUG_TYPE "jit"
|
||||||
#include "Interpreter/Interpreter.h"
|
#include "Interpreter/Interpreter.h"
|
||||||
#include "JIT/VM.h"
|
#include "JIT/JIT.h"
|
||||||
#include "llvm/Constants.h"
|
#include "llvm/Constants.h"
|
||||||
#include "llvm/DerivedTypes.h"
|
#include "llvm/DerivedTypes.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
@ -55,7 +55,7 @@ ExecutionEngine *ExecutionEngine::create(ModuleProvider *MP,
|
|||||||
|
|
||||||
// Unless the interpreter was explicitly selected, make a JIT.
|
// Unless the interpreter was explicitly selected, make a JIT.
|
||||||
if (!ForceInterpreter)
|
if (!ForceInterpreter)
|
||||||
EE = VM::create(MP);
|
EE = JIT::create(MP);
|
||||||
|
|
||||||
// If we can't make a JIT, make an interpreter instead.
|
// If we can't make a JIT, make an interpreter instead.
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user