Remove a couple of bogus casts.

llvm-svn: 28493
This commit is contained in:
Evan Cheng 2006-05-26 08:04:31 +00:00
parent 0f5c7936e7
commit 70145f2d5e
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
case MachineOperand::MO_Immediate:
if (!Modifier || strcmp(Modifier, "debug") != 0)
O << '$';
O << (int)MO.getImmedValue();
O << MO.getImmedValue();
return;
case MachineOperand::MO_MachineBasicBlock:
printBasicBlockLabel(MO.getMachineBasicBlock());

View File

@ -98,7 +98,7 @@ void X86IntelAsmPrinter::printOp(const MachineOperand &MO,
return;
case MachineOperand::MO_Immediate:
O << (int)MO.getImmedValue();
O << MO.getImmedValue();
return;
case MachineOperand::MO_MachineBasicBlock:
printBasicBlockLabel(MO.getMachineBasicBlock());