After updating value handles for RAUW, check that no weak or tracking handles
authorDuncan Sands <baldrick@free.fr>
Tue, 27 Jul 2010 06:53:14 +0000 (06:53 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 27 Jul 2010 06:53:14 +0000 (06:53 +0000)
commit2c11046fa186a4489bfd562cd81ff8a4883cb223
treebf28a60abb5799af7ad13bbb48334ccfc1b56a96
parentdfd30187c685c2c5200ee795c64885c0a39dc2d0
After updating value handles for RAUW, check that no weak or tracking handles
are still on the list.  This might happen if a CallbackVH created some new value
handles for the old value when doing RAUW.  Barf if it occurs, since it is almost
certainly a mistake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109495 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Value.cpp