diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-04 17:52:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-04 17:52:23 +0000 |
commit | 10d6341618d792accb16a959a8481cbed4c7daec (patch) | |
tree | f46455c3468146bd3a6f81f1585e38d70a8ae610 /llvm/lib/CodeGen/RegAllocSimple.cpp | |
parent | fb2969205596dd8f0c5995e446f01a7b918fa4cf (diff) | |
download | bcm5719-llvm-10d6341618d792accb16a959a8481cbed4c7daec.tar.gz bcm5719-llvm-10d6341618d792accb16a959a8481cbed4c7daec.zip |
Move some methods out of MachineInstr into MachineOperand
llvm-svn: 28102
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocSimple.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocSimple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp index f6a9a112df6..4e6e1d2705e 100644 --- a/llvm/lib/CodeGen/RegAllocSimple.cpp +++ b/llvm/lib/CodeGen/RegAllocSimple.cpp @@ -211,7 +211,7 @@ void RegAllocSimple::AllocateBasicBlock(MachineBasicBlock &MBB) { Virt2PhysRegMap[virtualReg] = physReg; } } - MI->SetMachineOperandReg(i, physReg); + MI->getOperand(i).setReg(physReg); DEBUG(std::cerr << "virt: " << virtualReg << ", phys: " << op.getReg() << "\n"); } |