From 05b46f05c3c4efd0972bf3e2e570404e7db72509 Mon Sep 17 00:00:00 2001 From: Matt Beaumont-Gay Date: Tue, 5 Jun 2012 23:00:03 +0000 Subject: [PATCH] Suppress -Wunused-variable in -Asserts build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158037 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/LiveIntervalAnalysis.cpp | 1 + 1 file changed, 1 insertion(+) 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); } } -- 2.34.1