Suppress -Wunused-variable in -Asserts build
authorMatt Beaumont-Gay <matthewbg@google.com>
Tue, 5 Jun 2012 23:00:03 +0000 (23:00 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Tue, 5 Jun 2012 23:00:03 +0000 (23:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158037 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index 1431ba4cd2a34599ae20cdd8efbf753a823dc823..186def79e269757145e3e7805ae0c7ebe1766406 100644 (file)
@@ -736,6 +736,7 @@ void LiveIntervals::computeLiveInRegUnits() {
           NewIntvs.push_back(Intv);
         }
         VNInfo *VNI = Intv->createDeadDef(Begin, getVNInfoAllocator());
+        (void)VNI;
         DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << '#' << VNI->id);
       }
     }