summaryrefslogtreecommitdiff
path: root/lib
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
commite2a268fd03fd07f1e5d6121d2a29da42447cea35 (patch)
tree6daf1aa0ebc3af9572d921a36774ea650e8c1901 /lib
parentdf72eaef3d863be99fd45f59c59919a8c1261d05 (diff)
downloadllvm-e2a268fd03fd07f1e5d6121d2a29da42447cea35.tar.gz
llvm-e2a268fd03fd07f1e5d6121d2a29da42447cea35.tar.bz2
llvm-e2a268fd03fd07f1e5d6121d2a29da42447cea35.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Pass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp
index a7d7f61dd7..9afc540633 100644
--- a/lib/VMCore/Pass.cpp
+++ b/lib/VMCore/Pass.cpp
@@ -213,7 +213,6 @@ RegisterAGBase::RegisterAGBase(const char *Name, const void *InterfaceID,
*this, isDefault);
}
-
//===----------------------------------------------------------------------===//
// PassRegistrationListener implementation
//