mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -26,6 +26,7 @@
|
|||||||
#include "llvm/ADT/Statistic.h"
|
#include "llvm/ADT/Statistic.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"
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
STATISTIC(NumSunk, "Number of machine instructions sunk");
|
STATISTIC(NumSunk, "Number of machine instructions sunk");
|
||||||
@ -91,7 +92,7 @@ bool MachineSinking::AllUsesDominatedByBlock(unsigned Reg,
|
|||||||
|
|
||||||
|
|
||||||
bool MachineSinking::runOnMachineFunction(MachineFunction &MF) {
|
bool MachineSinking::runOnMachineFunction(MachineFunction &MF) {
|
||||||
DOUT << "******** Machine Sinking ********\n";
|
DEBUG(errs() << "******** Machine Sinking ********\n");
|
||||||
|
|
||||||
CurMF = &MF;
|
CurMF = &MF;
|
||||||
TM = &CurMF->getTarget();
|
TM = &CurMF->getTarget();
|
||||||
|
Reference in New Issue
Block a user