Fix the AssertingVH unittests.

llvm-svn: 75060
This commit is contained in:
Jeffrey Yasskin 2009-07-08 22:09:00 +00:00
parent 70415d97a8
commit d8d725de4f
1 changed files with 1 additions and 2 deletions

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