commit | 10595490ccf25b4960936638fac7a673eaf82e68 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jan 16 01:37:14 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jan 16 01:37:14 2010 +0000 |
tree | 437e670ff1e16af233f36343df00da7cc03f30d1 | |
parent | 412c3a5bc9e70fe8579551216786e70d323a3dd5 [diff] [blame] |
fix inverted conditional git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93614 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index dd25437..ae59f9c 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -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());