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 | 76782f49d88bbf2853ba663a1469d8324ddcbfcc (patch) | |
tree | b0ba76788bf6f3f98de87fc0de0bd6ba60a5f76e /lib/CodeGen/MachineInstr.cpp | |
parent | f92dd28ab78f06de42d885f65aae5ac84dbdb544 (diff) |
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
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 600e790aad..3134cfb335 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 |