Changes in directory llvm/lib/Target:
TargetInstrInfo.cpp updated: 1.17 -> 1.18 --- Log message: Move some methods out of MachineInstr into MachineOperand --- Diffs of the changes: (+2 -2) TargetInstrInfo.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/TargetInstrInfo.cpp diff -u llvm/lib/Target/TargetInstrInfo.cpp:1.17 llvm/lib/Target/TargetInstrInfo.cpp:1.18 --- llvm/lib/Target/TargetInstrInfo.cpp:1.17 Thu Apr 20 13:33:11 2006 +++ llvm/lib/Target/TargetInstrInfo.cpp Thu May 4 12:52:23 2006 @@ -46,7 +46,7 @@ "This only knows how to commute register operands so far"); unsigned Reg1 = MI->getOperand(1).getReg(); unsigned Reg2 = MI->getOperand(1).getReg(); - MI->SetMachineOperandReg(2, Reg1); - MI->SetMachineOperandReg(1, Reg2); + MI->getOperand(2).setReg(Reg1); + MI->getOperand(1).setReg(Reg2); return MI; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits