Adjust to API changes
authorChris Lattner <sabre@nondot.org>
Mon, 20 Sep 2004 04:35:27 +0000 (04:35 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Sep 2004 04:35:27 +0000 (04:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16429 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/EquivClassGraphs.h

index 79e2a51a9581caa7b8e75df286ae120679851c25..81b9ac8a8128aa77d132248c8a03161b2d922739 100644 (file)
@@ -46,7 +46,7 @@ namespace PA {
   /// DS graph for all functions in an equivalence class.  After this merging,
   /// graphs are inlined bottom-up on the SCCs of the final (CBU) call graph.
   ///
-  struct EquivClassGraphs : public Pass {
+  struct EquivClassGraphs : public ModulePass {
     CompleteBUDataStructures *CBU;
 
     // FoldedGraphsMap, one graph for each function
@@ -69,7 +69,7 @@ namespace PA {
     /// EquivClassGraphs - Computes the equivalence classes and then the
     /// folded DS graphs for each class.
     /// 
-    virtual bool run(Module &M) { computeFoldedGraphs(M); return true; }
+    virtual bool runOnModule(Module &M) { computeFoldedGraphs(M); return true; }
 
     /// getCBUDataStructures - Get the CompleteBUDataStructures object
     ///