commit | 1970a89a49a76ef117c92e58a508e26ecc43ccdb | [log] [tgz] |
---|---|---|
author | Torok Edwin <edwintorok@gmail.com> | Mon Jun 29 18:49:09 2009 +0000 |
committer | Torok Edwin <edwintorok@gmail.com> | Mon Jun 29 18:49:09 2009 +0000 |
tree | 56539d6317c9e4dae91160a7e433aa721e1a8598 | |
parent | 23737e04235b6cab4c51546887397a9e53bf757c [diff] |
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