summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Archive
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-25 19:38:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-25 19:38:05 +0000
commitaf6fd29a08fa1ba280b2c098cca05f06ba8e4909 (patch)
tree762b54973a4fa9827e7c2be420a4baa8beb43bdf /llvm/lib/Bytecode/Archive
parent969f0bd44cdcef91cd13a720c8c6059b3cedc7e4 (diff)
downloadbcm5719-llvm-af6fd29a08fa1ba280b2c098cca05f06ba8e4909.tar.gz
bcm5719-llvm-af6fd29a08fa1ba280b2c098cca05f06ba8e4909.zip
Adjust to Compressor interface change
llvm-svn: 18249
Diffstat (limited to 'llvm/lib/Bytecode/Archive')
-rw-r--r--llvm/lib/Bytecode/Archive/ArchiveWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp b/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp
index 8651e95391f..21be628452a 100644
--- a/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp
+++ b/llvm/lib/Bytecode/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;
OpenPOWER on IntegriCloud