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:
Owen Anderson
2008-08-21 00:14:44 +00:00
parent f4a97da407
commit cb37188323
66 changed files with 448 additions and 180 deletions

View File

@ -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();