diff options
author | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:32:20 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:32:20 +0000 |
commit | 94441fbad77bf451c2ca511e7c9cf54f85cf61fb (patch) | |
tree | cf4ebf69dac1cd006c5799c725c5ec41a1000995 /llvm/lib/Support/TargetRegistry.cpp | |
parent | ec2fb226d8b84ee1090f7d7fa2e0da6232fee469 (diff) | |
download | bcm5719-llvm-94441fbad77bf451c2ca511e7c9cf54f85cf61fb.tar.gz bcm5719-llvm-94441fbad77bf451c2ca511e7c9cf54f85cf61fb.zip |
rename getHostTriple into getDefaultTargetTriple
llvm-svn: 143502
Diffstat (limited to 'llvm/lib/Support/TargetRegistry.cpp')
-rw-r--r-- | llvm/lib/Support/TargetRegistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/TargetRegistry.cpp b/llvm/lib/Support/TargetRegistry.cpp index 7497bfe035c..53c8d84e7d4 100644 --- a/llvm/lib/Support/TargetRegistry.cpp +++ b/llvm/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"; |