fix pr2460

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52294 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-06-16 04:02:40 +00:00
parent ec87aa87fe
commit 6520aa0f5e

View File

@ -130,6 +130,7 @@ PHINode::PHINode(const PHINode &PN)
}
PHINode::~PHINode() {
if (OperandList)
dropHungoffUses(OperandList);
}