projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5200f04
)
Fix thinko.
author
Devang Patel
<dpatel@apple.com>
Wed, 22 Jul 2009 18:56:16 +0000
(18:56 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 22 Jul 2009 18:56:16 +0000
(18:56 +0000)
llvm-svn: 76769
llvm/lib/Analysis/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/DebugInfo.cpp
b/llvm/lib/Analysis/DebugInfo.cpp
index
aa012ef
..
f1ad08a
100644
(file)
--- a/
llvm/lib/Analysis/DebugInfo.cpp
+++ b/
llvm/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();
}