[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 4 10:21:37 PDT 2006
Changes in directory llvm/lib/CodeGen:
MachineInstr.cpp updated: 1.116 -> 1.117
---
Log message:
There shalt be only one "immediate" operand type!
---
Diffs of the changes: (+2 -8)
MachineInstr.cpp | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.116 llvm/lib/CodeGen/MachineInstr.cpp:1.117
--- llvm/lib/CodeGen/MachineInstr.cpp:1.116 Thu May 4 12:02:51 2006
+++ llvm/lib/CodeGen/MachineInstr.cpp Thu May 4 12:21:19 2006
@@ -160,10 +160,7 @@
case MachineOperand::MO_VirtualRegister:
OutputReg(OS, MO.getReg(), MRI);
break;
- case MachineOperand::MO_SignExtendedImmed:
- OS << (long)MO.getImmedValue();
- break;
- case MachineOperand::MO_UnextendedImmed:
+ case MachineOperand::MO_Immediate:
OS << (long)MO.getImmedValue();
break;
case MachineOperand::MO_MachineBasicBlock:
@@ -260,10 +257,7 @@
case MachineOperand::MO_VirtualRegister:
OutputReg(OS, MO.getReg());
break;
- case MachineOperand::MO_SignExtendedImmed:
- OS << (long)MO.getImmedValue();
- break;
- case MachineOperand::MO_UnextendedImmed:
+ case MachineOperand::MO_Immediate:
OS << (long)MO.getImmedValue();
break;
case MachineOperand::MO_MachineBasicBlock:
More information about the llvm-commits
mailing list