diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-05 22:58:16 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-05 22:58:16 +0000 |
commit | c25b39702fa8ab0c57dd19534e50d8c5c546427c (patch) | |
tree | 816f8ffbc835cd45f915e2ca186e2389fd5021b8 /llvm/utils/TableGen | |
parent | 7538ed80a95b908ca0227c637add96950f5ccb28 (diff) | |
download | bcm5719-llvm-c25b39702fa8ab0c57dd19534e50d8c5c546427c.tar.gz bcm5719-llvm-c25b39702fa8ab0c57dd19534e50d8c5c546427c.zip |
Another step towards getting rid of static ctors for pass registration: have INITIALIZE_PASS AND INITIALIZE_AG_PASS
expand to an initializeMyPass() function (in additional to the extant static ctors). Eventually, these will be called
from a big InitializeAllPasses() function, and the PassInfo's they create (which would be leaked if this code were used
at the moment) will be handed off to a PassRegistry for ownership.
llvm-svn: 115703
Diffstat (limited to 'llvm/utils/TableGen')
0 files changed, 0 insertions, 0 deletions