projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7de7bc
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DebugInfo.cpp
b/lib/Analysis/DebugInfo.cpp
index aa012ef8bcb8c36bdeaf76099d6166e3c40e3947..f1ad08aefab9591cf620089ac80746a2ec44840e 100644
(file)
--- 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();
}