summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-03-04 00:48:15 +0000
committerBill Wendling <isanbard@gmail.com>2008-03-04 00:48:15 +0000
commit2ae707888b4329f3ceb1b9657458d81453716540 (patch)
tree1f0ec674f2ac892135cfd8bf08d1d3c556713b05 /llvm/lib/CodeGen/MachineInstr.cpp
parent62240d65fd9836a87a938bd4ab53d89fc69c3798 (diff)
downloadbcm5719-llvm-2ae707888b4329f3ceb1b9657458d81453716540.tar.gz
bcm5719-llvm-2ae707888b4329f3ceb1b9657458d81453716540.zip
Did I say 'e = getNumOperands()'? I meant --e, of course.
llvm-svn: 47875
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 600e790aad5..3134cfb3358 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -703,7 +703,7 @@ bool MachineInstr::addRegisterKilled(unsigned IncomingReg,
// "kill". Let the super-register take care of this
// information.
RemoveOperand(i);
- e = getNumOperands();
+ --e;
continue;
} else {
// The super-register is going to take care of this kill
OpenPOWER on IntegriCloud