mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -31,8 +31,8 @@ public:
|
||||
static char ID;
|
||||
PrintModulePass() : ModulePass(intptr_t(&ID)), Out(&cerr),
|
||||
DeleteStream(false) {}
|
||||
PrintModulePass(OStream *o, bool DS = false)
|
||||
: ModulePass(intptr_t(&ID)), Out(o), DeleteStream(DS) {}
|
||||
PrintModulePass(OStream *o, bool ds = false)
|
||||
: ModulePass(intptr_t(&ID)), Out(o), DeleteStream(ds) {}
|
||||
|
||||
~PrintModulePass() {
|
||||
if (DeleteStream) delete Out;
|
||||
@ -57,8 +57,8 @@ public:
|
||||
PrintFunctionPass() : FunctionPass(intptr_t(&ID)), Banner(""), Out(&cerr),
|
||||
DeleteStream(false) {}
|
||||
PrintFunctionPass(const std::string &B, OStream *o = &cout,
|
||||
bool DS = false)
|
||||
: FunctionPass(intptr_t(&ID)), Banner(B), Out(o), DeleteStream(DS) {}
|
||||
bool ds = false)
|
||||
: FunctionPass(intptr_t(&ID)), Banner(B), Out(o), DeleteStream(ds) {}
|
||||
|
||||
inline ~PrintFunctionPass() {
|
||||
if (DeleteStream) delete Out;
|
||||
|
Reference in New Issue
Block a user