Fix an iterator invalidation bug that happens when a hashtable
authorChris Lattner <sabre@nondot.org>
Wed, 4 Nov 2009 18:57:42 +0000 (18:57 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Nov 2009 18:57:42 +0000 (18:57 +0000)
commit0fb7e18edd49f8df705a27e789eb925e18d4f44e
treee487075e216f59f6cc954934df0fde4e3d66bc6d
parent17fc13f00a7eed83cb8259c0594403fcae7fb492
Fix an iterator invalidation bug that happens when a hashtable
resizes in IPSCCP.  This fixes PR5394.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86036 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp