Silence unused variable warning in -asserts build
authorMatt Beaumont-Gay <matthewbg@google.com>
Fri, 3 Aug 2012 20:54:11 +0000 (20:54 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Fri, 3 Aug 2012 20:54:11 +0000 (20:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161256 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/StrongPHIElimination.cpp

index 9a8e74599c66eb9779933513744e620d7b798614..5b061950464788bd50caf9934c1431525ba4e13c 100644 (file)
@@ -672,6 +672,7 @@ void StrongPHIElimination::InsertCopiesForPHI(MachineInstr *PHI,
       LiveInterval &SrcInterval = LI->getInterval(SrcReg);
       SlotIndex PredIndex = LI->getMBBEndIdx(PredBB);
       VNInfo *SrcVNI = SrcInterval.getVNInfoBefore(PredIndex);
+      (void)SrcVNI;
       assert(SrcVNI);
       continue;
     }