mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
#include "llvm/Support/Debug.h"
|
#include "llvm/Support/Debug.h"
|
||||||
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include "llvm/Target/TargetInstrInfo.h"
|
#include "llvm/Target/TargetInstrInfo.h"
|
||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
@@ -110,7 +111,7 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
|
|
||||||
// If the instruction is dead, delete it!
|
// If the instruction is dead, delete it!
|
||||||
if (isDead(MI)) {
|
if (isDead(MI)) {
|
||||||
DOUT << "DeadMachineInstructionElim: DELETING: " << *MI;
|
DEBUG(errs() << "DeadMachineInstructionElim: DELETING: " << *MI);
|
||||||
AnyChanges = true;
|
AnyChanges = true;
|
||||||
MI->eraseFromParent();
|
MI->eraseFromParent();
|
||||||
MIE = MBB->rend();
|
MIE = MBB->rend();
|
||||||
|
Reference in New Issue
Block a user