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 | 84472d6e3c79a53a28e4351da63140709bc732a7 (patch) | |
tree | 66f7cbcecf0629b0b86640a80268f27994996bd8 /lib/Archive | |
parent | 50b0421caaa6c5bf53fb58bb91a987370ac80545 (diff) | |
download | external_llvm-84472d6e3c79a53a28e4351da63140709bc732a7.zip external_llvm-84472d6e3c79a53a28e4351da63140709bc732a7.tar.gz external_llvm-84472d6e3c79a53a28e4351da63140709bc732a7.tar.bz2 |
Adjust to Compressor interface change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive')
-rw-r--r-- | lib/Archive/ArchiveWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Archive/ArchiveWriter.cpp b/lib/Archive/ArchiveWriter.cpp index 8651e95..21be628 100644 --- a/lib/Archive/ArchiveWriter.cpp +++ b/lib/Archive/ArchiveWriter.cpp @@ -262,8 +262,7 @@ Archive::writeMember( data +=4; fSize -= 4; } - fSize = Compressor::compressToNewBuffer( - data,fSize,output,Compressor::COMP_TYPE_ZLIB); + fSize = Compressor::compressToNewBuffer(data,fSize,output); data = output; if (member.isBytecode()) hdrSize = -fSize-4; |