Remove a couple of bogus casts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-05-26 08:04:31 +00:00
parent 00aff7d977
commit 138a24e4d4
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());