From 57c0788e020ca8553fbae9f3820eef406e88a638 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 26 May 2006 06:22:34 +0000 Subject: [PATCH] Minor bug caught by Ashwin Chandra git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28491 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 1880cd9dccd..72ce7ced0a2 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -129,7 +129,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) { } else O << COMMDirective << name << "," << Size; } else { - if (Subtarget->TargetType == X86Subtarget::isCygwin) { + if (Subtarget->TargetType != X86Subtarget::isCygwin) { if (I->hasInternalLinkage()) O << "\t.local\t" << name << "\n"; } -- 2.34.1