[llvm-commits] [llvm] r93614 - /llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Chris Lattner sabre at nondot.org
Fri Jan 15 17:37:15 PST 2010


Author: lattner
Date: Fri Jan 15 19:37:14 2010
New Revision: 93614

URL: http://llvm.org/viewvc/llvm-project?rev=93614&view=rev
Log:
fix inverted conditional

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=93614&r1=93613&r2=93614&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Fri Jan 15 19:37:14 2010
@@ -192,7 +192,7 @@
         Name->print(O, MAI);
         O << '\n';
       } else {
-        assert(!I->hasLocalLinkage() && "Invalid alias linkage");
+        assert(I->hasLocalLinkage() && "Invalid alias linkage");
       }
 
       printVisibility(Name, I->getVisibility());





More information about the llvm-commits mailing list