summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Pass.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-10-05 22:58:16 +0000
committerOwen Anderson <resistor@mac.com>2010-10-05 22:58:16 +0000
commitc25b39702fa8ab0c57dd19534e50d8c5c546427c (patch)
tree816f8ffbc835cd45f915e2ca186e2389fd5021b8 /llvm/lib/VMCore/Pass.cpp
parent7538ed80a95b908ca0227c637add96950f5ccb28 (diff)
downloadbcm5719-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.cpp1
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
//
OpenPOWER on IntegriCloud