summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-08-03 20:54:11 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-08-03 20:54:11 +0000
commita5b51f5694b143790d7d081eef689614fbbb00b5 (patch)
tree970c01c79cb5ff9ee06957d13d7bffd9d39d07ff /lib
parentbf60aa9db5953dd99c561dfa9323b1e3293a5a85 (diff)
downloadllvm-a5b51f5694b143790d7d081eef689614fbbb00b5.tar.gz
llvm-a5b51f5694b143790d7d081eef689614fbbb00b5.tar.bz2
llvm-a5b51f5694b143790d7d081eef689614fbbb00b5.tar.xz
Silence unused variable warning in -asserts build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/StrongPHIElimination.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp
index 9a8e74599c..5b06195046 100644
--- a/lib/CodeGen/StrongPHIElimination.cpp
+++ b/lib/CodeGen/StrongPHIElimination.cpp
@@ -672,6 +672,7 @@ void StrongPHIElimination::InsertCopiesForPHI(MachineInstr *PHI,
LiveInterval &SrcInterval = LI->getInterval(SrcReg);
SlotIndex PredIndex = LI->getMBBEndIdx(PredBB);
VNInfo *SrcVNI = SrcInterval.getVNInfoBefore(PredIndex);
+ (void)SrcVNI;
assert(SrcVNI);
continue;
}