mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Nuke the old JIT.
I am sure we will be finding bits and pieces of dead code for years to come, but this is a good start. Thanks to Lang Hames for making MCJIT a good replacement! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -30,7 +30,7 @@ TargetMachine *EngineBuilder::selectTarget() {
|
||||
|
||||
// MCJIT can generate code for remote targets, but the old JIT and Interpreter
|
||||
// must use the host architecture.
|
||||
if (UseMCJIT && WhichEngine != EngineKind::Interpreter && M)
|
||||
if (WhichEngine != EngineKind::Interpreter && M)
|
||||
TT.setTriple(M->getTargetTriple());
|
||||
|
||||
return selectTarget(TT, MArch, MCPU, MAttrs);
|
||||
@@ -89,8 +89,7 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
|
||||
}
|
||||
|
||||
// FIXME: non-iOS ARM FastISel is broken with MCJIT.
|
||||
if (UseMCJIT &&
|
||||
TheTriple.getArch() == Triple::arm &&
|
||||
if (TheTriple.getArch() == Triple::arm &&
|
||||
!TheTriple.isiOS() &&
|
||||
OptLevel == CodeGenOpt::None) {
|
||||
OptLevel = CodeGenOpt::Less;
|
||||
|
Reference in New Issue
Block a user