summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/TargetRegistry.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2011-11-01 21:32:20 +0000
committerSebastian Pop <spop@codeaurora.org>2011-11-01 21:32:20 +0000
commit94441fbad77bf451c2ca511e7c9cf54f85cf61fb (patch)
treecf4ebf69dac1cd006c5799c725c5ec41a1000995 /llvm/lib/Support/TargetRegistry.cpp
parentec2fb226d8b84ee1090f7d7fa2e0da6232fee469 (diff)
downloadbcm5719-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.cpp2
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";
OpenPOWER on IntegriCloud