From 68faa2dbbeb141e6db360bcebb4aff2e97a28c73 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Wed, 2 Mar 2011 01:43:30 +0000 Subject: [PATCH] Quiet a compiler warning about unused variable 'ExtVNI'. llvm-svn: 126815 --- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 4b4d4bdaaef7..92829b1ea462 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -794,6 +794,7 @@ void LiveIntervals::shrinkToUses(LiveInterval *li) { // Extend the live range for VNI to be live at Idx. if (VNInfo *ExtVNI = NewLI.extendInBlock(BlockStart, Idx)) { + (void)ExtVNI; assert(ExtVNI == VNI && "Unexpected existing value number"); // Is this a PHIDef we haven't seen before? if (!VNI->isPHIDef() || !UsedPHIs.insert(VNI))