Now that PassInfo and Pass::ID have been separated, move the rest of the passes over...
[oota-llvm.git] / lib / Analysis / IPA / GlobalsModRef.cpp
index 43a61d0f60acd110eb9d1bab3caeb118b1928a50..6759b0afdce39a1897a8b670ef2605479729402a 100644 (file)
@@ -177,9 +177,9 @@ namespace {
 }
 
 char GlobalsModRef::ID = 0;
-static RegisterPass<GlobalsModRef>
-X("globalsmodref-aa", "Simple mod/ref analysis for globals", false, true);
-static RegisterAnalysisGroup<AliasAnalysis> Y(X);
+INITIALIZE_AG_PASS(GlobalsModRef, AliasAnalysis,
+                "globalsmodref-aa", "Simple mod/ref analysis for globals",    
+                false, true, false);
 
 Pass *llvm::createGlobalsModRefPass() { return new GlobalsModRef(); }