mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +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:
@@ -183,11 +183,6 @@ bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const {
|
||||
|
||||
/// print - Print the specified machine operand.
|
||||
///
|
||||
void MachineOperand::print(std::ostream &OS, const TargetMachine *TM) const {
|
||||
raw_os_ostream RawOS(OS);
|
||||
print(RawOS, TM);
|
||||
}
|
||||
|
||||
void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const {
|
||||
switch (getType()) {
|
||||
case MachineOperand::MO_Register:
|
||||
@@ -948,12 +943,7 @@ bool MachineInstr::hasVolatileMemoryRef() const {
|
||||
}
|
||||
|
||||
void MachineInstr::dump() const {
|
||||
cerr << " " << *this;
|
||||
}
|
||||
|
||||
void MachineInstr::print(std::ostream &OS, const TargetMachine *TM) const {
|
||||
raw_os_ostream RawOS(OS);
|
||||
print(RawOS, TM);
|
||||
errs() << " " << *this;
|
||||
}
|
||||
|
||||
void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
|
||||
|
||||
Reference in New Issue
Block a user