do not dereference an extra layer of pointers to determine if an external
[oota-llvm.git] / lib / Analysis / IPA / PrintSCC.cpp
index 5fe1eecde2bb57384acf68392fb92378024082d1..d37c4caa836186ea6c51e8ce7dfd85932da3d1a1 100644 (file)
@@ -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 {