From: Matt Beaumont-Gay Date: Tue, 5 Jun 2012 23:00:03 +0000 (+0000) Subject: Suppress -Wunused-variable in -Asserts build X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05b46f05c3c4efd0972bf3e2e570404e7db72509;p=oota-llvm.git Suppress -Wunused-variable in -Asserts build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158037 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 1431ba4cd2a..186def79e26 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -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); } }