summaryrefslogtreecommitdiff
path: root/tools/opt/PrintSCC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/PrintSCC.cpp')
-rw-r--r--tools/opt/PrintSCC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp
index 5fe1eecde2..d37c4caa83 100644
--- a/tools/opt/PrintSCC.cpp
+++ b/tools/opt/PrintSCC.cpp
@@ -37,7 +37,7 @@ namespace {
struct CFGSCC : public FunctionPass {
bool runOnFunction(Function& func);
- void print(std::ostream &O) const { }
+ void print(std::ostream &O, const Module* = 0) const { }
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
@@ -48,7 +48,7 @@ namespace {
// run - Print out SCCs in the call graph for the specified module.
bool runOnModule(Module &M);
- void print(std::ostream &O) const { }
+ void print(std::ostream &O, const Module* = 0) const { }
// getAnalysisUsage - This pass requires the CallGraph.
virtual void getAnalysisUsage(AnalysisUsage &AU) const {