strength reduce this.
[oota-llvm.git] / lib / Analysis / IPA / FindUsedTypes.cpp
index c4fb0b9a4e3ddc8fee591159df4ed6ebe93d9012..06ae34cfd98918b2df8dfee4ac9172bd03730103 100644 (file)
@@ -23,8 +23,8 @@
 using namespace llvm;
 
 char FindUsedTypes::ID = 0;
-static RegisterPass<FindUsedTypes>
-X("print-used-types", "Find Used Types", false, true);
+INITIALIZE_PASS(FindUsedTypes, "print-used-types",
+                "Find Used Types", false, true)
 
 // IncorporateType - Incorporate one type and all of its subtypes into the
 // collection of used types.