From 76782f49d88bbf2853ba663a1469d8324ddcbfcc Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 4 Mar 2008 00:48:15 +0000 Subject: [PATCH] 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 --- lib/CodeGen/MachineInstr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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