Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.170 -> 1.171 --- Log message: Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling. --- Diffs of the changes: (+1 -1) PPCAsmPrinter.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.170 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.171 --- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.170 Thu May 4 12:21:19 2006 +++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Thu May 4 13:05:43 2006 @@ -86,7 +86,7 @@ void printOperand(const MachineInstr *MI, unsigned OpNo) { const MachineOperand &MO = MI->getOperand(OpNo); - if (MO.getType() == MachineOperand::MO_VirtualRegister) { + if (MO.isRegister()) { assert(MRegisterInfo::isPhysicalRegister(MO.getReg())&&"Not physreg??"); O << TM.getRegisterInfo()->get(MO.getReg()).Name; } else if (MO.isImmediate()) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits