aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-16 01:37:14 +0000
committerChris Lattner <sabre@nondot.org>2010-01-16 01:37:14 +0000
commit10595490ccf25b4960936638fac7a673eaf82e68 (patch)
tree437e670ff1e16af233f36343df00da7cc03f30d1 /lib/CodeGen
parent412c3a5bc9e70fe8579551216786e70d323a3dd5 (diff)
fix inverted conditional
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index dd25437a20..ae59f9c388 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -192,7 +192,7 @@ bool AsmPrinter::doFinalization(Module &M) {
Name->print(O, MAI);
O << '\n';
} else {
- assert(!I->hasLocalLinkage() && "Invalid alias linkage");
+ assert(I->hasLocalLinkage() && "Invalid alias linkage");
}
printVisibility(Name, I->getVisibility());