silence warning when asserts disabled.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Dec 2008 21:38:24 +0000 (21:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Dec 2008 21:38:24 +0000 (21:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61014 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsISelDAGToDAG.cpp

index 95854bb5485599e6d4ff1346def9be950b8ef4be..099fb53fae52e23819ed2439f9c479af6d6fd5e5 100644 (file)
@@ -218,12 +218,12 @@ Select(SDValue N)
     case ISD::SUBE: 
     case ISD::ADDE: {
       SDValue InFlag = Node->getOperand(2), CmpLHS;
-      unsigned Opc = InFlag.getOpcode(), MOp;
-
+      unsigned Opc = InFlag.getOpcode(); Opc=Opc;
       assert(((Opc == ISD::ADDC || Opc == ISD::ADDE) || 
               (Opc == ISD::SUBC || Opc == ISD::SUBE)) &&  
              "(ADD|SUB)E flag operand must come from (ADD|SUB)C/E insn");
 
+      unsigned MOp;
       if (Opcode == ISD::ADDE) {
         CmpLHS = InFlag.getValue(0);
         MOp = Mips::ADDu;