diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-22 18:56:16 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-22 18:56:16 +0000 |
commit | 6930f4f9451c2f852477bdbcb640f0562b661753 (patch) | |
tree | 8107293130a2fc91295cf158f240b6383e990bfa /lib/Analysis/DebugInfo.cpp | |
parent | d7de7bc2971c7aba0bcd4537cfd1b9c2fff44036 (diff) | |
download | llvm-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.cpp | 2 |
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(); } |