default to emiting an uncompressed .bc file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-01-21 06:34:18 +00:00
parent 9b5b182e5f
commit 17be6791b8
10 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -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() {
+1 -1
View File
@@ -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