mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +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:
@ -34,6 +34,7 @@ namespace llvm {
|
||||
class Mangler;
|
||||
class TargetAsmInfo;
|
||||
class Type;
|
||||
class raw_ostream;
|
||||
|
||||
/// AsmPrinter - This class is intended to be used as a driving class for all
|
||||
/// asm writers.
|
||||
@ -64,7 +65,7 @@ namespace llvm {
|
||||
public:
|
||||
/// Output stream on which we're printing assembly code.
|
||||
///
|
||||
std::ostream &O;
|
||||
raw_ostream &O;
|
||||
|
||||
/// Target machine description.
|
||||
///
|
||||
@ -96,7 +97,7 @@ namespace llvm {
|
||||
bool IsInTextSection;
|
||||
|
||||
protected:
|
||||
AsmPrinter(std::ostream &o, TargetMachine &TM, const TargetAsmInfo *T);
|
||||
AsmPrinter(raw_ostream &o, TargetMachine &TM, const TargetAsmInfo *T);
|
||||
|
||||
public:
|
||||
virtual ~AsmPrinter();
|
||||
|
Reference in New Issue
Block a user