diff options
| author | Dan Gohman <gohman@apple.com> | 2010-06-18 16:09:11 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-06-18 16:09:11 +0000 |
| commit | 9f58b3e10667d55f367ae466f05848bbfa0e1537 (patch) | |
| tree | cfe83cd8e321be48ecaabe6c66526e03dd6fad7f | |
| parent | 7edb39cc6b3145bd96982826c8012e1c45083bd3 (diff) | |
| download | bcm5719-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.h | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/MachineDominators.cpp | 1 |
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; } |

