Torok Edwin 1970a89a49 Call doInitialization(), releaseMemory(), and doFinalization() for on-the-fly passes as well.
Also don't call finalizers for LoopPass if initialization was not called.
Add a unittest that tests that these methods are called, in the proper
order, and the correct number of times.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74438 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-29 18:49:09 +00:00
..
2009-06-20 00:26:26 +00:00
2009-06-26 20:21:18 +00:00
2009-06-18 20:56:48 +00:00
2009-06-18 21:35:56 +00:00