mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
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
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user