[llvm-commits] CVS: llvm/include/llvm/CallGraphSCCPass.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 20 16:52:01 PDT 2004
Changes in directory llvm/include/llvm:
CallGraphSCCPass.h updated: 1.4 -> 1.5
---
Log message:
Change it to take a callgraph, from which we can get a module
---
Diffs of the changes: (+3 -3)
Index: llvm/include/llvm/CallGraphSCCPass.h
diff -u llvm/include/llvm/CallGraphSCCPass.h:1.4 llvm/include/llvm/CallGraphSCCPass.h:1.5
--- llvm/include/llvm/CallGraphSCCPass.h:1.4 Tue Apr 20 16:29:57 2004
+++ llvm/include/llvm/CallGraphSCCPass.h Tue Apr 20 16:52:07 2004
@@ -26,13 +26,13 @@
namespace llvm {
class CallGraphNode;
-class Module;
+class CallGraph;
struct CallGraphSCCPass : public Pass {
/// doInitialization - This method is called before the SCC's of the program
/// has been processed, allowing the pass to do initialization as necessary.
- virtual bool doInitialization(Module &M) {
+ virtual bool doInitialization(CallGraph &CG) {
return false;
}
@@ -45,7 +45,7 @@
/// doFinalization - This method is called after the SCC's of the program has
/// been processed, allowing the pass to do final cleanup as necessary.
- virtual bool doFinalization(Module &M) {
+ virtual bool doFinalization(CallGraph &CG) {
return false;
}
More information about the llvm-commits
mailing list