no need to check for null

llvm-svn: 94648
This commit is contained in:
Chris Lattner 2010-01-27 02:04:20 +00:00
parent 58cc69d4c1
commit 711e701f1c
1 changed files with 1 additions and 1 deletions

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();