diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-06 09:28:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-06 09:28:33 +0000 |
commit | c1d5624d71f7534cfc1bd51b76ead9cea99d3e8d (patch) | |
tree | 25dfd54464e8e2231589e55b4edf5d416a947f03 /lib/Archive/ArchiveWriter.cpp | |
parent | 4cbc5485e0ce158a81930fdf44b119ce7e129e13 (diff) |
Switch this over to bitcode instead of bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive/ArchiveWriter.cpp')
-rw-r--r-- | lib/Archive/ArchiveWriter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Archive/ArchiveWriter.cpp b/lib/Archive/ArchiveWriter.cpp index f08526ce82..051d31fce9 100644 --- a/lib/Archive/ArchiveWriter.cpp +++ b/lib/Archive/ArchiveWriter.cpp @@ -12,11 +12,10 @@ //===----------------------------------------------------------------------===// #include "ArchiveInternals.h" -#include "llvm/Bytecode/Reader.h" #include "llvm/Bitcode/ReaderWriter.h" -#include "llvm/Support/Compressor.h" #include "llvm/System/Signals.h" #include "llvm/System/Process.h" +#include "llvm/ModuleProvider.h" #include <fstream> #include <ostream> #include <iomanip> @@ -232,8 +231,7 @@ Archive::writeMember( + ")"; ModuleProvider* MP = GetBytecodeSymbols((const unsigned char*)data,fSize, - FullMemberName, symbols, - Compressor::decompressToNewBuffer, ErrMsg); + FullMemberName, symbols, ErrMsg); // If the bytecode parsed successfully if ( MP ) { |