Dramatically simplify DerivedType::refineAbstractTypeToInternal
authorChris Lattner <sabre@nondot.org>
Fri, 3 Oct 2003 04:48:21 +0000 (04:48 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 Oct 2003 04:48:21 +0000 (04:48 +0000)
commit8ef852f4ea1e12d90dd25a7aecff564542a00a7f
tree29f5d3e9b8770a88afe38dbb9273ee7c39cb4c4a
parent1c5164e9cff87b9682fcf620c7aac099ff378e18
Dramatically simplify DerivedType::refineAbstractTypeToInternal

This makes use of the new PATypeHolder's to keep types from being deleted
prematurely, instead of the wierd "self reference" garbage.  This is easier
to understand and more efficient as well.

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