diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-03-04 00:48:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-03-04 00:48:15 +0000 |
commit | 2ae707888b4329f3ceb1b9657458d81453716540 (patch) | |
tree | 1f0ec674f2ac892135cfd8bf08d1d3c556713b05 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 62240d65fd9836a87a938bd4ab53d89fc69c3798 (diff) | |
download | bcm5719-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.cpp | 2 |
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 |