Use eraseFromParent() instead of doing that manually in two places.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 30 May 2008 12:35:46 +0000 (12:35 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 30 May 2008 12:35:46 +0000 (12:35 +0000)
commit494661c623e06122eb63fe3a78aef131cdad10d2
treedbea1cf69d1917c909ee09521ce20175ff8ad15e
parent74b5e07cc4a65989eb43bdc016d51db3c192691f
Use eraseFromParent() instead of doing that manually in two places.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51770 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/DeadArgumentElimination.cpp