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:
parent
296070fa2c
commit
64e9d6b584
@ -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*>";
|
||||
|
Loading…
Reference in New Issue
Block a user