summaryrefslogtreecommitdiff
path: root/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-22 18:56:16 +0000
committerDevang Patel <dpatel@apple.com>2009-07-22 18:56:16 +0000
commit6930f4f9451c2f852477bdbcb640f0562b661753 (patch)
tree8107293130a2fc91295cf158f240b6383e990bfa /lib/Analysis/DebugInfo.cpp
parentd7de7bc2971c7aba0bcd4537cfd1b9c2fff44036 (diff)
downloadllvm-6930f4f9451c2f852477bdbcb640f0562b661753.tar.gz
llvm-6930f4f9451c2f852477bdbcb640f0562b661753.tar.bz2
llvm-6930f4f9451c2f852477bdbcb640f0562b661753.tar.xz
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r--lib/Analysis/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index aa012ef8bc..f1ad08aefa 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/lib/Analysis/DebugInfo.cpp
@@ -213,7 +213,7 @@ void DIDerivedType::replaceAllUsesWith(DIDescriptor &D) {
if (isNull())
return;
- assert (D.isNull() && "Can not replace with null");
+ assert (!D.isNull() && "Can not replace with null");
getGV()->replaceAllUsesWith(D.getGV());
getGV()->eraseFromParent();
}