summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-18 16:09:11 +0000
committerDan Gohman <gohman@apple.com>2010-06-18 16:09:11 +0000
commit9f58b3e10667d55f367ae466f05848bbfa0e1537 (patch)
treecfe83cd8e321be48ecaabe6c66526e03dd6fad7f
parent7edb39cc6b3145bd96982826c8012e1c45083bd3 (diff)
downloadbcm5719-llvm-9f58b3e10667d55f367ae466f05848bbfa0e1537.tar.gz
bcm5719-llvm-9f58b3e10667d55f367ae466f05848bbfa0e1537.zip
Don't bother calling releaseMemory before destroying the DominatorTreeBase.
llvm-svn: 106287
-rw-r--r--llvm/include/llvm/Analysis/Dominators.h1
-rw-r--r--llvm/lib/CodeGen/MachineDominators.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/Dominators.h b/llvm/include/llvm/Analysis/Dominators.h
index f8103103a0e..d83573f702d 100644
--- a/llvm/include/llvm/Analysis/Dominators.h
+++ b/llvm/include/llvm/Analysis/Dominators.h
@@ -704,7 +704,6 @@ public:
}
~DominatorTree() {
- DT->releaseMemory();
delete DT;
}
diff --git a/llvm/lib/CodeGen/MachineDominators.cpp b/llvm/lib/CodeGen/MachineDominators.cpp
index 408873903b0..b5f8fbba99d 100644
--- a/llvm/lib/CodeGen/MachineDominators.cpp
+++ b/llvm/lib/CodeGen/MachineDominators.cpp
@@ -46,7 +46,6 @@ MachineDominatorTree::MachineDominatorTree()
}
MachineDominatorTree::~MachineDominatorTree() {
- DT->releaseMemory();
delete DT;
}
OpenPOWER on IntegriCloud