Let AnalyzeNewNode take care of calling ExpungeNode.
authorDuncan Sands <baldrick@free.fr>
Wed, 2 Jul 2008 09:56:41 +0000 (09:56 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 2 Jul 2008 09:56:41 +0000 (09:56 +0000)
commit3a38e5e3c465c10fe5f859114f9077cb00cc17b9
tree3e3ca541a19c62bc7e450b52dd86429dcb95a016
parentc6be777208f4539af400ac694d9d1dc8b992bc80
Let AnalyzeNewNode take care of calling ExpungeNode.
This makes sure that all new nodes are expunged, not
just those the top node of a new subtree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53011 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h