diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-06-29 18:49:09 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-06-29 18:49:09 +0000 |
commit | 24c7835d19a4a7bfa87e5859a072bc23a0df1429 (patch) | |
tree | 9c5a1e2a945ebed9b6b60cfd2fbab0e2855d3955 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e00beaaee8d1e63e0f086bf9ff91e099a7e40a08 (diff) | |
download | bcm5719-llvm-24c7835d19a4a7bfa87e5859a072bc23a0df1429.tar.gz bcm5719-llvm-24c7835d19a4a7bfa87e5859a072bc23a0df1429.zip |
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.
llvm-svn: 74438
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions