diff options
author | Sebastian Pop <spop@codeaurora.org> | 2012-01-05 18:28:46 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2012-01-05 18:28:46 +0000 |
commit | 6e9b5eb51bb623995c90295d265a7682277653a1 (patch) | |
tree | c333ba442ddedfb74ac79b9a5f8541e2d0f3fafb /lib/Support/TargetRegistry.cpp | |
parent | 0fcccd4d45b593bc11e56ff5be36a04836749376 (diff) |
revert r147542 after comments from Joerg Sonnenberger
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/TargetRegistry.cpp')
-rw-r--r-- | lib/Support/TargetRegistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/TargetRegistry.cpp b/lib/Support/TargetRegistry.cpp index 7497bfe035..53c8d84e7d 100644 --- a/lib/Support/TargetRegistry.cpp +++ b/lib/Support/TargetRegistry.cpp @@ -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"; |