mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Changes to build successfully with GCC 3.02
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -10,14 +10,15 @@
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include <iostream>
|
||||
|
||||
class PrintModulePass : public Pass {
|
||||
string Banner; // String to print before each method
|
||||
ostream *Out; // ostream to print on
|
||||
std::string Banner; // String to print before each method
|
||||
std::ostream *Out; // ostream to print on
|
||||
bool DeleteStream; // Delete the ostream in our dtor?
|
||||
bool PrintPerMethod; // Print one method at a time rather than the whole?
|
||||
public:
|
||||
inline PrintModulePass(const string &B, ostream *o = &cout,
|
||||
inline PrintModulePass(const std::string &B, std::ostream *o = &std::cout,
|
||||
bool DS = false,
|
||||
bool printPerMethod = true)
|
||||
: Banner(B), Out(o), DeleteStream(DS), PrintPerMethod(printPerMethod) {
|
||||
|
Reference in New Issue
Block a user