[llvm-commits] [llvm] r47875 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp

Bill Wendling isanbard at gmail.com
Mon Mar 3 16:48:16 PST 2008


Author: void
Date: Mon Mar  3 18:48:15 2008
New Revision: 47875

URL: http://llvm.org/viewvc/llvm-project?rev=47875&view=rev
Log:
Did I say 'e = getNumOperands()'? I meant --e, of course.

Modified:
    llvm/trunk/lib/CodeGen/MachineInstr.cpp

Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineInstr.cpp?rev=47875&r1=47874&r2=47875&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/MachineInstr.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineInstr.cpp Mon Mar  3 18:48:15 2008
@@ -703,7 +703,7 @@
 	  // "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





More information about the llvm-commits mailing list