fix a bug in DebugRecVH::deleted/allUsesReplacedWith. If an
authorChris Lattner <sabre@nondot.org>
Thu, 1 Apr 2010 05:12:07 +0000 (05:12 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 Apr 2010 05:12:07 +0000 (05:12 +0000)
commit175edf2c78ca009bc7eb66fe513559155af0f454
tree19dee06aab4c5fc62f3ff4155fa171b7081e1ec5
parent73180c5355bff75b2d9b0e1349f0898e4e60fe89
fix a bug in DebugRecVH::deleted/allUsesReplacedWith.  If an
entry in the Scope+InlinedAt drops to a non-canonical form,
we need to reset the idx member of both VH's to 0.

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