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 | 634763372ec2479a34442dc8947bef34149c46d5 (patch) | |
tree | b0ba76788bf6f3f98de87fc0de0bd6ba60a5f76e /lib/CodeGen/MachineInstr.cpp | |
parent | 095e8fa17ad43e16ee607737d49dcc614493c692 (diff) | |
download | external_llvm-634763372ec2479a34442dc8947bef34149c46d5.zip external_llvm-634763372ec2479a34442dc8947bef34149c46d5.tar.gz external_llvm-634763372ec2479a34442dc8947bef34149c46d5.tar.bz2 |
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 600e790..3134cfb 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 |