From af6fd29a08fa1ba280b2c098cca05f06ba8e4909 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 25 Nov 2004 19:38:05 +0000 Subject: Adjust to Compressor interface change llvm-svn: 18249 --- llvm/lib/Bytecode/Writer/Writer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp') 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 { -- cgit v1.2.3