commit | 10d6341618d792accb16a959a8481cbed4c7daec | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu May 04 17:52:23 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu May 04 17:52:23 2006 +0000 |
tree | f46455c3468146bd3a6f81f1585e38d70a8ae610 | |
parent | fb2969205596dd8f0c5995e446f01a7b918fa4cf [diff] [blame] |
Move some methods out of MachineInstr into MachineOperand llvm-svn: 28102
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp index f6a9a11..4e6e1d2 100644 --- a/llvm/lib/CodeGen/RegAllocSimple.cpp +++ b/llvm/lib/CodeGen/RegAllocSimple.cpp
@@ -211,7 +211,7 @@ Virt2PhysRegMap[virtualReg] = physReg; } } - MI->SetMachineOperandReg(i, physReg); + MI->getOperand(i).setReg(physReg); DEBUG(std::cerr << "virt: " << virtualReg << ", phys: " << op.getReg() << "\n"); }