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/Target/CBackend | |
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/Target/CBackend')
-rw-r--r-- | llvm/lib/Target/CBackend/CBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/CBackend/CBackend.cpp b/llvm/lib/Target/CBackend/CBackend.cpp index 69d8c46a502..06e812bc6fe 100644 --- a/llvm/lib/Target/CBackend/CBackend.cpp +++ b/llvm/lib/Target/CBackend/CBackend.cpp @@ -1660,7 +1660,7 @@ bool CWriter::doInitialization(Module &M) { #if 0 std::string Triple = TheModule->getTargetTriple(); if (Triple.empty()) - Triple = llvm::sys::getHostTriple(); + Triple = llvm::sys::getDefaultTargetTriple(); std::string E; if (const Target *Match = TargetRegistry::lookupTarget(Triple, E)) @@ -3167,7 +3167,7 @@ std::string CWriter::InterpretASMConstraint(InlineAsm::ConstraintInfo& c) { const MCAsmInfo *TargetAsm; std::string Triple = TheModule->getTargetTriple(); if (Triple.empty()) - Triple = llvm::sys::getHostTriple(); + Triple = llvm::sys::getDefaultTargetTriple(); std::string E; if (const Target *Match = TargetRegistry::lookupTarget(Triple, E)) |