refactor a bit of code.
authorChris Lattner <sabre@nondot.org>
Tue, 4 Oct 2005 21:35:50 +0000 (21:35 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 Oct 2005 21:35:50 +0000 (21:35 +0000)
commita1e3f543965ee3ee8bc67273ccd4781861054102
tree0df4c4f1d178b5a02f97019c0d39532f37f1480e
parent23ec01fcc32368801033558b7764dac356a51e5a
refactor a bit of code.

When moving constant entries in 'Map' if the entry is the representative
constant for the abstractypemap, make sure to update it as well.  This
fixes the bcreader failures from last night on several C++ apps.

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