summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/HostInfo.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-27 00:56:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-27 00:56:44 +0000
commit7c870175eba9e332f244fb45f68618b232020d66 (patch)
tree16b9329e41bf68a25bf74c1accf8fb0d92614b52 /clang/lib/Driver/HostInfo.cpp
parent15c8942baf2074d70f9d5a969ca5aedd843a510b (diff)
downloadbcm5719-llvm-7c870175eba9e332f244fb45f68618b232020d66.tar.gz
bcm5719-llvm-7c870175eba9e332f244fb45f68618b232020d66.zip
Driver/Darwin: Eliminate confusing IsIPhoneOS parameter -- this was actually
just indicating whether the default target should be iPhoneOS. llvm-svn: 94638
Diffstat (limited to 'clang/lib/Driver/HostInfo.cpp')
-rw-r--r--clang/lib/Driver/HostInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Driver/HostInfo.cpp b/clang/lib/Driver/HostInfo.cpp
index 01fd32d1db2..18bb7865930 100644
--- a/clang/lib/Driver/HostInfo.cpp
+++ b/clang/lib/Driver/HostInfo.cpp
@@ -146,10 +146,10 @@ ToolChain *DarwinHostInfo::CreateToolChain(const ArgList &Args,
// If we recognized the arch, match it to the toolchains we support.
if (Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64) {
// We still use the legacy DarwinGCC toolchain on X86.
- TC = new toolchains::DarwinGCC(*this, TCTriple, DarwinVersion, GCCVersion,
- false);
+ TC = new toolchains::DarwinGCC(*this, TCTriple, DarwinVersion,
+ GCCVersion);
} else if (Arch == llvm::Triple::arm || Arch == llvm::Triple::thumb)
- TC = new toolchains::DarwinClang(*this, TCTriple, DarwinVersion, true);
+ TC = new toolchains::DarwinClang(*this, TCTriple, DarwinVersion);
else
TC = new toolchains::Darwin_Generic_GCC(*this, TCTriple);
}
OpenPOWER on IntegriCloud