Remove the function attr cache for intrinsics. This does not maintain the
authorChris Lattner <sabre@nondot.org>
Thu, 3 Jan 2008 01:20:12 +0000 (01:20 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 Jan 2008 01:20:12 +0000 (01:20 +0000)
commit50cffa01076a2364dc593ebbfeacf8c5bd4d3f42
tree00556cf4522dbb874ecd66b333dc02fe0d0ebf03
parent89e94bd00c1a7e24b42e653fc5c0f4b00a3dee61
Remove the function attr cache for intrinsics.  This does not maintain the
refcount on these correctly, and can end up referring to deleted
attributes.  This fixes PR1881.

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