aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
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
commit1a0131b79885a906fc786943c30cd4b02cdcd594 (patch)
tree8107293130a2fc91295cf158f240b6383e990bfa /lib/Analysis
parentd5b21d61dcdb047085c97007e3e44ac9a28a5a6a (diff)
downloadexternal_llvm-1a0131b79885a906fc786943c30cd4b02cdcd594.zip
external_llvm-1a0131b79885a906fc786943c30cd4b02cdcd594.tar.gz
external_llvm-1a0131b79885a906fc786943c30cd4b02cdcd594.tar.bz2
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-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 aa012ef..f1ad08a 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();
}