mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
Remove a couple of bogus casts.
llvm-svn: 28493
This commit is contained in:
parent
328b47bc28
commit
c80154a36e
@ -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());
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user