1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

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 296070fa2c
commit 64e9d6b584

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*>";