[llvm-commits] CVS: poolalloc/lib/PoolAllocate/EquivClassGraphs.h PoolAllocate.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Sep 19 21:35:37 PDT 2004
Changes in directory poolalloc/lib/PoolAllocate:
EquivClassGraphs.h updated: 1.3 -> 1.4
PoolAllocate.cpp updated: 1.73 -> 1.74
---
Log message:
Adjust to API changes
---
Diffs of the changes: (+3 -3)
Index: poolalloc/lib/PoolAllocate/EquivClassGraphs.h
diff -u poolalloc/lib/PoolAllocate/EquivClassGraphs.h:1.3 poolalloc/lib/PoolAllocate/EquivClassGraphs.h:1.4
--- poolalloc/lib/PoolAllocate/EquivClassGraphs.h:1.3 Mon Sep 13 23:06:28 2004
+++ poolalloc/lib/PoolAllocate/EquivClassGraphs.h Sun Sep 19 23:35:26 2004
@@ -46,7 +46,7 @@
/// 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 @@
/// 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
///
Index: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
diff -u poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.73 poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.74
--- poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.73 Mon Sep 13 23:06:28 2004
+++ poolalloc/lib/PoolAllocate/PoolAllocate.cpp Sun Sep 19 23:35:27 2004
@@ -82,7 +82,7 @@
AU.addRequired<TargetData>();
}
-bool PoolAllocate::run(Module &M) {
+bool PoolAllocate::runOnModule(Module &M) {
if (M.begin() == M.end()) return false;
CurModule = &M;
ECGraphs = &getAnalysis<EquivClassGraphs>(); // folded inlined CBU graphs
More information about the llvm-commits
mailing list