[llvm-commits] [llvm] r106287 - in /llvm/trunk: include/llvm/Analysis/Dominators.h lib/CodeGen/MachineDominators.cpp
Dan Gohman
gohman at apple.com
Fri Jun 18 09:09:11 PDT 2010
Author: djg
Date: Fri Jun 18 11:09:11 2010
New Revision: 106287
URL: http://llvm.org/viewvc/llvm-project?rev=106287&view=rev
Log:
Don't bother calling releaseMemory before destroying the DominatorTreeBase.
Modified:
llvm/trunk/include/llvm/Analysis/Dominators.h
llvm/trunk/lib/CodeGen/MachineDominators.cpp
Modified: llvm/trunk/include/llvm/Analysis/Dominators.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/Dominators.h?rev=106287&r1=106286&r2=106287&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/Dominators.h (original)
+++ llvm/trunk/include/llvm/Analysis/Dominators.h Fri Jun 18 11:09:11 2010
@@ -704,7 +704,6 @@
}
~DominatorTree() {
- DT->releaseMemory();
delete DT;
}
Modified: llvm/trunk/lib/CodeGen/MachineDominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineDominators.cpp?rev=106287&r1=106286&r2=106287&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineDominators.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineDominators.cpp Fri Jun 18 11:09:11 2010
@@ -46,7 +46,6 @@
}
MachineDominatorTree::~MachineDominatorTree() {
- DT->releaseMemory();
delete DT;
}
More information about the llvm-commits
mailing list