forked from OSchip/llvm-project
parent
5200f046d5
commit
e85806f0d1
llvm/lib/Analysis
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue