[llvm-commits] CVS: llvm-tv/tools/llvm-tv/GraphPrinters.cpp
Misha Brukman
brukman at cs.uiuc.edu
Tue Oct 5 14:31:00 PDT 2004
Changes in directory llvm-tv/tools/llvm-tv:
GraphPrinters.cpp updated: 1.6 -> 1.7
---
Log message:
Adjust to API changes in PassManager
---
Diffs of the changes: (+3 -3)
Index: llvm-tv/tools/llvm-tv/GraphPrinters.cpp
diff -u llvm-tv/tools/llvm-tv/GraphPrinters.cpp:1.6 llvm-tv/tools/llvm-tv/GraphPrinters.cpp:1.7
--- llvm-tv/tools/llvm-tv/GraphPrinters.cpp:1.6 Tue Oct 5 13:44:44 2004
+++ llvm-tv/tools/llvm-tv/GraphPrinters.cpp Tue Oct 5 16:30:49 2004
@@ -61,7 +61,7 @@
namespace {
struct CallGraphPrinter : public Pass {
- virtual bool run(Module &M) {
+ virtual bool runPass(Module &M) {
WriteGraphToFile(std::cerr, "callgraph", &getAnalysis<CallGraph>());
return false;
}
@@ -90,7 +90,7 @@
virtual std::string getFilename() = 0;
public:
- bool run(Module &M) {
+ bool runPass(Module &M) {
DSType *DS = &getAnalysis<DSType>();
std::string File = getFilename();
std::ofstream of(File.c_str());
@@ -119,7 +119,7 @@
public:
DSFunctionPrinter(Function *_F) : F(_F) {}
- bool run(Module &M) {
+ bool runPass(Module &M) {
DSType *DS = &getAnalysis<DSType>();
std::string File = getFilename(*F);
std::ofstream of(File.c_str());
More information about the llvm-commits
mailing list