Another attempt at fixing PR2975.
authorTorok Edwin <edwintorok@gmail.com>
Tue, 7 Apr 2009 17:23:02 +0000 (17:23 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Tue, 7 Apr 2009 17:23:02 +0000 (17:23 +0000)
commiteb55f3ea3c6a12e5d098f72f3f9a16d4b7e77645
treeb793da35332f1226c35e906bebdd064a19c92915
parentce8f9fe3c9ea50127eab28930506fc3b93390553
Another attempt at fixing PR2975.
Types can have references to eachother, so we can't just call destroy on them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68523 91177308-0d34-0410-b5e6-96231b3b80d8
examples/HowToUseJIT/HowToUseJIT.cpp
include/llvm/AbstractTypeUser.h
lib/VMCore/Type.cpp