aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/FPMover.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Sparc/FPMover.cpp')
-rw-r--r--lib/Target/Sparc/FPMover.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/FPMover.cpp b/lib/Target/Sparc/FPMover.cpp
index 70f203ccca..7073260c4a 100644
--- a/lib/Target/Sparc/FPMover.cpp
+++ b/lib/Target/Sparc/FPMover.cpp
@@ -104,8 +104,8 @@ bool FPMover::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
else
assert(0 && "Unknown opcode!");
- MI->SetMachineOperandReg(0, EvenDestReg);
- MI->SetMachineOperandReg(1, EvenSrcReg);
+ MI->getOperand(0).setReg(EvenDestReg);
+ MI->getOperand(1).setReg(EvenSrcReg);
DEBUG(std::cerr << "FPMover: the modified instr is: " << *MI);
// Insert copy for the other half of the double.
if (DestDReg != SrcDReg) {