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 | 68faa2dbbeb141e6db360bcebb4aff2e97a28c73 (patch) | |
| tree | 571def6ff436f398babcbd9f139eeb5cf1659489 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
| parent | 43766d6f1274decc804b3f3a32e1bb2b127d2f7a (diff) | |
| download | bcm5719-llvm-68faa2dbbeb141e6db360bcebb4aff2e97a28c73.tar.gz bcm5719-llvm-68faa2dbbeb141e6db360bcebb4aff2e97a28c73.zip | |
Quiet a compiler warning about unused variable 'ExtVNI'.
llvm-svn: 126815
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 4b4d4bdaaef..92829b1ea46 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)) |

