diff --git a/lib/CodeGen/LiveIntervals.cpp b/lib/CodeGen/LiveIntervals.cpp index 8c387055211..471775f8706 100644 --- a/lib/CodeGen/LiveIntervals.cpp +++ b/lib/CodeGen/LiveIntervals.cpp @@ -421,6 +421,7 @@ void LiveIntervals::extendSegmentsToUses(LiveRange &Segments, SlotIndex Stop = Indexes->getMBBEndIdx(Pred); if (VNInfo *OldVNI = OldRange.getVNInfoBefore(Stop)) { assert(OldVNI == VNI && "Wrong value out of predecessor"); + (void)OldVNI; WorkList.push_back(std::make_pair(Stop, VNI)); } else { #ifndef NDEBUG