projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get rid of static constructors for pass registration. Instead, every pass exposes...
[oota-llvm.git]
/
lib
/
CodeGen
/
GCMetadata.cpp
diff --git
a/lib/CodeGen/GCMetadata.cpp
b/lib/CodeGen/GCMetadata.cpp
index 98aced983fa643cdfbbf6ca67dd60d3ce9889694..d757cf409d50c661732d0780be84c3da169b09f8 100644
(file)
--- a/
lib/CodeGen/GCMetadata.cpp
+++ b/
lib/CodeGen/GCMetadata.cpp
@@
-69,7
+69,9
@@
GCFunctionInfo::~GCFunctionInfo() {}
char GCModuleInfo::ID = 0;
GCModuleInfo::GCModuleInfo()
- : ImmutablePass(ID) {}
+ : ImmutablePass(ID) {
+ initializeGCModuleInfoPass(*PassRegistry::getPassRegistry());
+}
GCModuleInfo::~GCModuleInfo() {
clear();