Minor bug caught by Ashwin Chandra

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-05-26 06:22:34 +00:00
parent 7b2e2792d6
commit 57c0788e02

View File

@ -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";
}