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:
Jeffrey Yasskin 2009-07-08 22:09:00 +00:00
parent 489393d7b9
commit 7309762365

View File

@ -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...
}
}