diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-03-02 01:43:30 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-03-02 01:43:30 +0000 |
commit | 4b11a70f7a63dc4c051a96a90ed6687eb0595cda (patch) | |
tree | 572a926a66b3973cb913afbea513ba2be4e8629d /lib/CodeGen | |
parent | 0cbe91ba3bd84a5ef68a1d0de5df6e955690b0a4 (diff) |
Quiet a compiler warning about unused variable 'ExtVNI'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-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 4b4d4bdaae..92829b1ea4 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/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)) |