aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-05 18:43:07 +0000
committerDan Gohman <gohman@apple.com>2008-05-05 18:43:07 +0000
commit94bbdc8c254e259eff22eb5d6a1012fc1438fb45 (patch)
tree8ef52950b502105e8b71c2c88a3e516df9e27b94 /lib
parent34cd4a484e532cc463fd5a4bf59b88d13c5467c1 (diff)
downloadexternal_llvm-94bbdc8c254e259eff22eb5d6a1012fc1438fb45.tar.gz
external_llvm-94bbdc8c254e259eff22eb5d6a1012fc1438fb45.tar.bz2
external_llvm-94bbdc8c254e259eff22eb5d6a1012fc1438fb45.zip
Fix IsLinux being uninitialized on non-Linux targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86Subtarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index cb07b0d45f..2dd7b45974 100644
--- a/lib/Target/X86/X86Subtarget.cpp
+++ b/lib/Target/X86/X86Subtarget.cpp
@@ -241,6 +241,7 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS, bool is64Bit)
, X863DNowLevel(NoThreeDNow)
, HasX86_64(false)
, DarwinVers(0)
+ , IsLinux(false)
, stackAlignment(8)
// FIXME: this is a known good value for Yonah. How about others?
, MaxInlineSizeThreshold(128)