mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +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:
@@ -259,7 +259,7 @@ unsigned Emitter<CodeEmitter>::getMachineOpValue(const MachineInstr &MI,
|
||||
emitMachineBasicBlock(MO.getMBB(), ARM::reloc_arm_branch);
|
||||
else {
|
||||
#ifndef NDEBUG
|
||||
cerr << MO;
|
||||
errs() << MO;
|
||||
#endif
|
||||
llvm_unreachable(0);
|
||||
}
|
||||
@@ -336,7 +336,7 @@ void Emitter<CodeEmitter>::emitDWordLE(uint64_t Binary) {
|
||||
|
||||
template<class CodeEmitter>
|
||||
void Emitter<CodeEmitter>::emitInstruction(const MachineInstr &MI) {
|
||||
DOUT << "JIT: " << (void*)MCE.getCurrentPCValue() << ":\t" << MI;
|
||||
DEBUG(errs() << "JIT: " << (void*)MCE.getCurrentPCValue() << ":\t" << MI);
|
||||
|
||||
MCE.processDebugLoc(MI.getDebugLoc());
|
||||
|
||||
@@ -418,8 +418,8 @@ void Emitter<CodeEmitter>::emitConstPoolInstruction(const MachineInstr &MI) {
|
||||
ARMConstantPoolValue *ACPV =
|
||||
static_cast<ARMConstantPoolValue*>(MCPE.Val.MachineCPVal);
|
||||
|
||||
DOUT << " ** ARM constant pool #" << CPI << " @ "
|
||||
<< (void*)MCE.getCurrentPCValue() << " " << *ACPV << '\n';
|
||||
DEBUG(errs() << " ** ARM constant pool #" << CPI << " @ "
|
||||
<< (void*)MCE.getCurrentPCValue() << " " << *ACPV << '\n');
|
||||
|
||||
GlobalValue *GV = ACPV->getGV();
|
||||
if (GV) {
|
||||
|
||||
Reference in New Issue
Block a user