Cast unsigned to int! It was causing a nice little bug.

llvm-svn: 614
This commit is contained in:
Vikram S. Adve 2001-09-18 12:57:39 +00:00
parent bb81dae651
commit 82d1e14e7f
1 changed files with 2 additions and 2 deletions

View File

@ -338,8 +338,8 @@ void PhyRegAlloc::printMachineCode()
Op.getOperandType() == MachineOperand::MO_CCRegister ||
Op.getOperandType() == MachineOperand::MO_MachineRegister ) {
const int RegNum = Op.getAllocatedRegNum();
const int RegNum = (const int) Op.getAllocatedRegNum();
// ****this code is temporary till NULL Values are fixed
if( RegNum == 10000) {
cout << "\t<*NULL Value*>";