diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 19:38:05 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 19:38:05 +0000 |
commit | af6fd29a08fa1ba280b2c098cca05f06ba8e4909 (patch) | |
tree | 762b54973a4fa9827e7c2be420a4baa8beb43bdf /llvm/lib/Bytecode/Writer/Writer.cpp | |
parent | 969f0bd44cdcef91cd13a720c8c6059b3cedc7e4 (diff) | |
download | bcm5719-llvm-af6fd29a08fa1ba280b2c098cca05f06ba8e4909.tar.gz bcm5719-llvm-af6fd29a08fa1ba280b2c098cca05f06ba8e4909.zip |
Adjust to Compressor interface change
llvm-svn: 18249
Diffstat (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Writer/Writer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp index ed43bc9e2e8..b54a513b72d 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/lib/Bytecode/Writer/Writer.cpp @@ -1128,8 +1128,7 @@ void llvm::WriteBytecodeToFile(const Module *M, std::ostream &Out, uint64_t zipSize = Compressor::compressToStream( (char*)(FirstByte+4), // Skip the magic number Buffer.size()-4, // Skip the magic number - Out, // Where to write compressed data - Compressor::COMP_TYPE_BZIP2 // Try bzip2 compression first + Out // Where to write compressed data ); } else { |