mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Use raw_ostream throughout the AsmPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "llvm/Analysis/FindUsedTypes.h"
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
#include "llvm/Support/GetElementPtrTypeIterator.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetMachineRegistry.h"
|
||||
@@ -75,7 +76,7 @@ namespace {
|
||||
}
|
||||
|
||||
public:
|
||||
std::ostream &Out;
|
||||
raw_ostream &Out;
|
||||
Module* ModulePtr;
|
||||
const TargetData* TD;
|
||||
Mangler* Mang;
|
||||
@@ -85,7 +86,7 @@ namespace {
|
||||
StaticInitList;
|
||||
const std::set<const Type *>* UsedTypes;
|
||||
static char ID;
|
||||
MSILWriter(std::ostream &o) : FunctionPass((intptr_t)&ID), Out(o) {
|
||||
MSILWriter(raw_ostream &o) : FunctionPass((intptr_t)&ID), Out(o) {
|
||||
UniqID = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user