aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bytecode
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Bytecode')
-rw-r--r--include/llvm/Bytecode/WriteBytecodePass.h4
-rw-r--r--include/llvm/Bytecode/Writer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Bytecode/WriteBytecodePass.h b/include/llvm/Bytecode/WriteBytecodePass.h
index c4e2c5d5d5..b0155e4ddf 100644
--- a/include/llvm/Bytecode/WriteBytecodePass.h
+++ b/include/llvm/Bytecode/WriteBytecodePass.h
@@ -27,8 +27,8 @@ class WriteBytecodePass : public ModulePass {
bool CompressFile;
public:
WriteBytecodePass()
- : Out(&cout), DeleteStream(false), CompressFile(true) {}
- WriteBytecodePass(OStream *o, bool DS = false, bool CF = true)
+ : Out(&cout), DeleteStream(false), CompressFile(false) {}
+ WriteBytecodePass(OStream *o, bool DS = false, bool CF = false)
: Out(o), DeleteStream(DS), CompressFile(CF) {}
inline ~WriteBytecodePass() {
diff --git a/include/llvm/Bytecode/Writer.h b/include/llvm/Bytecode/Writer.h
index c87cc92848..d18d82cfc3 100644
--- a/include/llvm/Bytecode/Writer.h
+++ b/include/llvm/Bytecode/Writer.h
@@ -23,7 +23,7 @@ namespace llvm {
/// 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, OStream &Out,
- bool compress = true);
+ bool compress = false);
} // End llvm namespace
#endif