From 94441fbad77bf451c2ca511e7c9cf54f85cf61fb Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Tue, 1 Nov 2011 21:32:20 +0000 Subject: rename getHostTriple into getDefaultTargetTriple llvm-svn: 143502 --- llvm/lib/Support/TargetRegistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/TargetRegistry.cpp') 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"; -- cgit v1.2.3