1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix thinko.

llvm-svn: 76769
This commit is contained in:
Devang Patel 2009-07-22 18:56:16 +00:00
parent 061f9abed9
commit 7b31d8224d

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