mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-18 01:17:46 +00:00
Fix the AssertingVH unittests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75060 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
489393d7b9
commit
7309762365
@ -517,7 +517,7 @@ void ValueHandleBase::ValueIsDeleted(Value *V) {
|
||||
<< "\n";
|
||||
#endif
|
||||
LLVM_UNREACHABLE("An asserting value handle still pointed to this"
|
||||
"value!");
|
||||
" value!");
|
||||
case Weak:
|
||||
// Weak just goes to null, which will unlink it from the list.
|
||||
ThisNode->operator=(0);
|
||||
@ -592,4 +592,3 @@ void User::replaceUsesOfWith(Value *From, Value *To) {
|
||||
setOperand(i, To); // Fix it now...
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user