Fix thinko.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2009-07-22 18:56:16 +00:00
parent d7de7bc297
commit 6930f4f945

View File

@ -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();
}