mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,19 +17,18 @@
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Bytecode/Writer.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class llvm_ostream;
|
||||
|
||||
class WriteBytecodePass : public ModulePass {
|
||||
llvm_ostream *Out; // ostream to print on
|
||||
OStream *Out; // ostream to print on
|
||||
bool DeleteStream;
|
||||
bool CompressFile;
|
||||
public:
|
||||
WriteBytecodePass()
|
||||
: Out(&llvm_cout), DeleteStream(false), CompressFile(true) {}
|
||||
WriteBytecodePass(llvm_ostream *o, bool DS = false, bool CF = true)
|
||||
: Out(&cout), DeleteStream(false), CompressFile(true) {}
|
||||
WriteBytecodePass(OStream *o, bool DS = false, bool CF = true)
|
||||
: Out(o), DeleteStream(DS), CompressFile(CF) {}
|
||||
|
||||
inline ~WriteBytecodePass() {
|
||||
|
Reference in New Issue
Block a user