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/lib/VMCore/Pass.cpp | |
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/lib/VMCore/Pass.cpp')
-rw-r--r-- | llvm/lib/VMCore/Pass.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Pass.cpp b/llvm/lib/VMCore/Pass.cpp index a7d7f61dd76..9afc5406332 100644 --- a/llvm/lib/VMCore/Pass.cpp +++ b/llvm/lib/VMCore/Pass.cpp @@ -213,7 +213,6 @@ RegisterAGBase::RegisterAGBase(const char *Name, const void *InterfaceID, *this, isDefault); } - //===----------------------------------------------------------------------===// // PassRegistrationListener implementation // |