mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
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
This commit is contained in:
@ -794,6 +794,7 @@ void LiveIntervals::shrinkToUses(LiveInterval *li) {
|
|||||||
|
|
||||||
// Extend the live range for VNI to be live at Idx.
|
// Extend the live range for VNI to be live at Idx.
|
||||||
if (VNInfo *ExtVNI = NewLI.extendInBlock(BlockStart, Idx)) {
|
if (VNInfo *ExtVNI = NewLI.extendInBlock(BlockStart, Idx)) {
|
||||||
|
(void)ExtVNI;
|
||||||
assert(ExtVNI == VNI && "Unexpected existing value number");
|
assert(ExtVNI == VNI && "Unexpected existing value number");
|
||||||
// Is this a PHIDef we haven't seen before?
|
// Is this a PHIDef we haven't seen before?
|
||||||
if (!VNI->isPHIDef() || !UsedPHIs.insert(VNI))
|
if (!VNI->isPHIDef() || !UsedPHIs.insert(VNI))
|
||||||
|
Reference in New Issue
Block a user