diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-06-26 11:30:59 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-06-26 11:30:59 +0000 |
| commit | a84255142829697b442d9c7e46d44f7b8df22ab7 (patch) | |
| tree | 6c5d7a13f86f7a88299af5fb2ad20815ecf06d49 /lib/CodeGen/LiveStackAnalysis.cpp | |
| parent | 45695f852ec1c781d4a5f4d0a8fe618168fd4d9a (diff) | |
| download | external_llvm-a84255142829697b442d9c7e46d44f7b8df22ab7.zip external_llvm-a84255142829697b442d9c7e46d44f7b8df22ab7.tar.gz external_llvm-a84255142829697b442d9c7e46d44f7b8df22ab7.tar.bz2 | |
VNInfos don't need to be destructed anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveStackAnalysis.cpp')
| -rw-r--r-- | lib/CodeGen/LiveStackAnalysis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveStackAnalysis.cpp b/lib/CodeGen/LiveStackAnalysis.cpp index 798b9b9..709e2c6 100644 --- a/lib/CodeGen/LiveStackAnalysis.cpp +++ b/lib/CodeGen/LiveStackAnalysis.cpp @@ -35,8 +35,8 @@ void LiveStacks::getAnalysisUsage(AnalysisUsage &AU) const { } void LiveStacks::releaseMemory() { - // Release VNInfo memroy regions after all VNInfo objects are dtor'd. - VNInfoAllocator.DestroyAll(); + // Release VNInfo memory regions, VNInfo objects don't need to be dtor'd. + VNInfoAllocator.Reset(); S2IMap.clear(); S2RCMap.clear(); } |
