mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
remove various std::ostream version of printing methods from
MachineInstr and MachineOperand. This required eliminating a bunch of stuff that was using DOUT, I hope that bill doesn't mind me stealing his fun. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -292,16 +292,7 @@ public:
|
||||
//
|
||||
// Debugging support
|
||||
//
|
||||
void print(std::ostream *OS, const TargetMachine *TM) const {
|
||||
if (OS) print(*OS, TM);
|
||||
}
|
||||
void print(std::ostream &OS, const TargetMachine *TM = 0) const;
|
||||
void print(std::ostream *OS) const { if (OS) print(*OS); }
|
||||
void print(raw_ostream *OS, const TargetMachine *TM) const {
|
||||
if (OS) print(*OS, TM);
|
||||
}
|
||||
void print(raw_ostream &OS, const TargetMachine *TM = 0) const;
|
||||
void print(raw_ostream *OS) const { if (OS) print(*OS); }
|
||||
void dump() const;
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
@@ -360,11 +351,6 @@ private:
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Debugging Support
|
||||
|
||||
inline std::ostream& operator<<(std::ostream &OS, const MachineInstr &MI) {
|
||||
MI.print(OS);
|
||||
return OS;
|
||||
}
|
||||
|
||||
inline raw_ostream& operator<<(raw_ostream &OS, const MachineInstr &MI) {
|
||||
MI.print(OS);
|
||||
return OS;
|
||||
|
Reference in New Issue
Block a user