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 | 15273e4d9102f687cde64494f3f27e7815addf4f (patch) | |
| tree | 6fee79fc1437acadca926bc6efb4083b59ae8710 /llvm/lib/Bytecode/Archive/ArchiveWriter.cpp | |
| parent | c9c5d3eed88423e3a09f15c0a9fd58660082a13a (diff) | |
| download | bcm5719-llvm-15273e4d9102f687cde64494f3f27e7815addf4f.tar.gz bcm5719-llvm-15273e4d9102f687cde64494f3f27e7815addf4f.zip | |
Switch this over to bitcode instead of bytecode.
llvm-svn: 36866
Diffstat (limited to 'llvm/lib/Bytecode/Archive/ArchiveWriter.cpp')
| -rw-r--r-- | llvm/lib/Bytecode/Archive/ArchiveWriter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp b/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp index f08526ce824..051d31fce95 100644 --- a/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp +++ b/llvm/lib/Bytecode/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 ) { |

