From: Dan Gohman Date: Mon, 5 May 2008 18:43:07 +0000 (+0000) Subject: Fix IsLinux being uninitialized on non-Linux targets. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=94bbdc8c254e259eff22eb5d6a1012fc1438fb45;p=oota-llvm.git 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 --- diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index cb07b0d45f8..2dd7b45974d 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)