minor cleanups. Add provisions for a new standard BLOCKINFO_BLOCK
[oota-llvm.git] / include / llvm / Bytecode / Writer.h
index 374e5df482c96c0107a3f3e34ffab2478936815c..d18d82cfc337f205ddc7fc78cffc1aeba0e7a1d0 100644 (file)
 #ifndef LLVM_BYTECODE_WRITER_H
 #define LLVM_BYTECODE_WRITER_H
 
+#include "llvm/Support/Streams.h"
+
 namespace llvm {
-  class llvm_ostream;
   class Module;
   /// WriteBytecodeToFile - Write the specified module to the specified output
   /// stream.  If compress is set to true, try to use compression when writing
   /// out the file.  This can never fail if M is a well-formed module.
-  void WriteBytecodeToFile(const Module *M, llvm_ostream &Out,
-                           bool compress = true);
+  void WriteBytecodeToFile(const Module *M, OStream &Out,
+                           bool compress = false);
 } // End llvm namespace
 
 #endif