fix printing call graphs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27820 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2006-04-18 23:45:19 +00:00
parent 1c212dec24
commit 0cafa92371
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ namespace {
}
virtual bool runOnModule(Module &M) { return false; }
void print(std::ostream &OS, Module *M) const {
virtual void print(std::ostream &OS, const Module *M) const {
getAnalysis<CallGraph>().print(OS, M);
}
};

View File

@ -71,7 +71,7 @@ namespace {
}
virtual bool runOnModule(Module &M) { return false; }
void print(std::ostream &OS, Module *M) const {
virtual void print(std::ostream &OS, const Module *M) const {
getAnalysis<CallGraph>().print(OS, M);
}
};