no need to check for null

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-01-27 02:04:20 +00:00
parent dee740d195
commit 5b718e3e4d

View File

@ -220,7 +220,7 @@ namespace {
DominanceFrontier &df, AliasSetTracker *ast)
: Allocas(A), DT(dt), DF(df), DIF(0), AST(ast) {}
~PromoteMem2Reg() {
if (DIF) delete DIF;
delete DIF;
}
void run();