From: Bill Wendling Date: Tue, 4 Mar 2008 00:48:15 +0000 (+0000) Subject: Did I say 'e = getNumOperands()'? I meant --e, of course. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=76782f49d88bbf2853ba663a1469d8324ddcbfcc;p=oota-llvm.git Did I say 'e = getNumOperands()'? I meant --e, of course. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47875 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 600e790aad5..3134cfb3358 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/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