diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-06-05 23:00:03 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-06-05 23:00:03 +0000 |
commit | 05b46f05c3c4efd0972bf3e2e570404e7db72509 (patch) | |
tree | 8f4501ee6da568354f66dcd111177d2ae4b8065f | |
parent | b77ec7d26405125fa5685370af5f17fcc9edbecd (diff) | |
download | external_llvm-05b46f05c3c4efd0972bf3e2e570404e7db72509.zip external_llvm-05b46f05c3c4efd0972bf3e2e570404e7db72509.tar.gz external_llvm-05b46f05c3c4efd0972bf3e2e570404e7db72509.tar.bz2 |
Suppress -Wunused-variable in -Asserts build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158037 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 1431ba4..186def7 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); } } |