mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
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:
parent
00aff7d977
commit
138a24e4d4
@ -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