Fix thinko.

llvm-svn: 76769
This commit is contained in:
Devang Patel 2009-07-22 18:56:16 +00:00
parent 5200f046d5
commit e85806f0d1
1 changed files with 1 additions and 1 deletions

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