From d55c9bf318ceb5c1f3a0a31b2e5e2bf1ad5db2b7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 20 Sep 2004 04:35:27 +0000 Subject: [PATCH] Adjust to API changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16429 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DataStructure/EquivClassGraphs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Analysis/DataStructure/EquivClassGraphs.h b/include/llvm/Analysis/DataStructure/EquivClassGraphs.h index 79e2a51a958..81b9ac8a812 100644 --- a/include/llvm/Analysis/DataStructure/EquivClassGraphs.h +++ b/include/llvm/Analysis/DataStructure/EquivClassGraphs.h @@ -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 /// -- 2.34.1