aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bytecode/Writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Bytecode/Writer.h')
-rw-r--r--include/llvm/Bytecode/Writer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Bytecode/Writer.h b/include/llvm/Bytecode/Writer.h
index 374e5df..c87cc92 100644
--- a/include/llvm/Bytecode/Writer.h
+++ b/include/llvm/Bytecode/Writer.h
@@ -15,13 +15,14 @@
#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,
+ void WriteBytecodeToFile(const Module *M, OStream &Out,
bool compress = true);
} // End llvm namespace