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:
parent
061f9abed9
commit
7b31d8224d
@ -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
Block a user