Did I say 'e = getNumOperands()'? I meant --e, of course.
authorBill Wendling <isanbard@gmail.com>
Tue, 4 Mar 2008 00:48:15 +0000 (00:48 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 4 Mar 2008 00:48:15 +0000 (00:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47875 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineInstr.cpp

index 600e790aad535658021649c161f1afd640cf4538..3134cfb33588d0068b70bcd2a849e6f4d58baca4 100644 (file)
@@ -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