1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

fix printing call graphs

llvm-svn: 27820
This commit is contained in:
Andrew Lenharth 2006-04-18 23:45:19 +00:00
parent 87c0d713cc
commit 90e3af9ab1

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);
}
};