mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-21 09:40:22 +00:00
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d7de7bc297
commit
6930f4f945
@ -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…
x
Reference in New Issue
Block a user