[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp X86IntelAsmPrinter.cpp
Evan Cheng
evan.cheng at apple.com
Fri May 26 01:04:45 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.48 -> 1.49
X86IntelAsmPrinter.cpp updated: 1.50 -> 1.51
---
Log message:
Remove a couple of bogus casts.
---
Diffs of the changes: (+2 -2)
X86ATTAsmPrinter.cpp | 2 +-
X86IntelAsmPrinter.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.48 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.49
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.48 Thu May 25 16:59:08 2006
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp Fri May 26 03:04:31 2006
@@ -131,7 +131,7 @@
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());
Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.50 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.51
--- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.50 Tue May 16 02:21:53 2006
+++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp Fri May 26 03:04:31 2006
@@ -98,7 +98,7 @@
return;
case MachineOperand::MO_Immediate:
- O << (int)MO.getImmedValue();
+ O << MO.getImmedValue();
return;
case MachineOperand::MO_MachineBasicBlock:
printBasicBlockLabel(MO.getMachineBasicBlock());
More information about the llvm-commits
mailing list