//
//===----------------------------------------------------------------------===//
+#define DEBUG_TYPE "reginfo"
#include "PowerPC.h"
#include "PowerPCRegisterInfo.h"
#include "PowerPCInstrBuilder.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetMachineImpls.h"
#include "Support/CommandLine.h"
+#include "Support/Debug.h"
#include "Support/STLExtras.h"
using namespace llvm;
Offset += MF.getFrameInfo()->getStackSize();
MI.SetMachineOperandConst(i-1, MachineOperand::MO_SignExtendedImmed, Offset);
- std::cout << "offset = " << Offset << std::endl;
+ DEBUG(std::cerr << "offset = " << Offset << std::endl);
}