summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-06-05 23:00:03 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-06-05 23:00:03 +0000
commit05b46f05c3c4efd0972bf3e2e570404e7db72509 (patch)
tree8f4501ee6da568354f66dcd111177d2ae4b8065f /lib/CodeGen
parentb77ec7d26405125fa5685370af5f17fcc9edbecd (diff)
downloadllvm-05b46f05c3c4efd0972bf3e2e570404e7db72509.tar.gz
llvm-05b46f05c3c4efd0972bf3e2e570404e7db72509.tar.bz2
llvm-05b46f05c3c4efd0972bf3e2e570404e7db72509.tar.xz
Suppress -Wunused-variable in -Asserts build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 1431ba4cd2..186def79e2 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);
}
}