mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
revert r147542 after comments from Joerg Sonnenberger
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -84,7 +84,7 @@ void TargetRegistry::RegisterTarget(Target &T,
|
||||
}
|
||||
|
||||
const Target *TargetRegistry::getClosestTargetForJIT(std::string &Error) {
|
||||
const Target *TheTarget = lookupTarget(sys::getHostTriple(), Error);
|
||||
const Target *TheTarget = lookupTarget(sys::getDefaultTargetTriple(), Error);
|
||||
|
||||
if (TheTarget && !TheTarget->hasJIT()) {
|
||||
Error = "No JIT compatible target available for this host";
|
||||
|
||||
Reference in New Issue
Block a user