[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 4 11:06:03 PDT 2006
Changes in directory llvm/lib/CodeGen:
MachineInstr.cpp updated: 1.118 -> 1.119
---
Log message:
Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling.
---
Diffs of the changes: (+2 -2)
MachineInstr.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.118 llvm/lib/CodeGen/MachineInstr.cpp:1.119
--- llvm/lib/CodeGen/MachineInstr.cpp:1.118 Thu May 4 12:52:23 2006
+++ llvm/lib/CodeGen/MachineInstr.cpp Thu May 4 13:05:43 2006
@@ -138,7 +138,7 @@
if (TM) MRI = TM->getRegisterInfo();
switch (MO.getType()) {
- case MachineOperand::MO_VirtualRegister:
+ case MachineOperand::MO_Register:
OutputReg(OS, MO.getReg(), MRI);
break;
case MachineOperand::MO_Immediate:
@@ -235,7 +235,7 @@
std::ostream &llvm::operator<<(std::ostream &OS, const MachineOperand &MO) {
switch (MO.getType()) {
- case MachineOperand::MO_VirtualRegister:
+ case MachineOperand::MO_Register:
OutputReg(OS, MO.getReg());
break;
case MachineOperand::MO_Immediate:
More information about the llvm-commits
mailing list