eliminate static ctors from Statistics
[oota-llvm.git] / lib / Analysis / IPA / CallGraph.cpp
index 6e8ca184b432a99a53a2562e4641a5a0f389bfd9..dcaeaf9d3388dbdd493af0a651fa5ce765fc29c6 100644 (file)
@@ -74,8 +74,8 @@ public:
     AU.setPreservesAll();
   }
 
-  void print(OStream &o, const Module *M) const {
-    if (o.stream()) print(*o.stream(), M);
+  void print(std::ostream *o, const Module *M) const {
+    if (o) print(*o, M);
   }
 
   virtual void print(std::ostream &o, const Module *M) const {