OSDN Git Service

Fix another dtor issue. The function local statics in this function were
authorChris Lattner <sabre@nondot.org>
Fri, 13 Oct 2006 17:22:21 +0000 (17:22 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Oct 2006 17:22:21 +0000 (17:22 +0000)
commit0eff5ad3db4bc85e84c85a7fbdc6b26653ff223d
tree62a79031a258c6cbb6313007bdbc108889193b3a
parent5395538307ea22b55cd01776badbc8c4f977df63
Fix another dtor issue.  The function local statics in this function were
being destroyed at inconvenient times.  Switch to using non-local ManagedStatic
objects, which actually also speeds up ConstRules::get.

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