Fix IsLinux being uninitialized on non-Linux targets.
authorDan Gohman <gohman@apple.com>
Mon, 5 May 2008 18:43:07 +0000 (18:43 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 5 May 2008 18:43:07 +0000 (18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50660 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Subtarget.cpp

index cb07b0d45f86ee74f382d460521a5191fff87e29..2dd7b45974d21a5322c85e7a234528ec716a5ff8 100644 (file)
@@ -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)