Support for llvm_ostreams.
[oota-llvm.git] / include / llvm / Analysis / Trace.h
index 32d36296712b79c16cb5c4489958cb96605219b0..ad4f37ce4d8bca92245cdd8dea7d64c8b1018156 100644 (file)
 #ifndef LLVM_ANALYSIS_TRACE_H
 #define LLVM_ANALYSIS_TRACE_H
 
-#include <iosfwd>
 #include <vector>
 #include <cassert>
 
 namespace llvm {
+  class llvm_ostream;
   class BasicBlock;
   class Function;
   class Module;
@@ -106,7 +106,7 @@ public:
 
   /// print - Write trace to output stream.
   ///
-  void print (std::ostream &O) const;
+  void print (llvm_ostream &O) const;
 
   /// dump - Debugger convenience method; writes trace to standard error
   /// output stream.