mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[LiveDebugValues][NFC] Silence an unused variable warning
On release builds, 'MI' isn't used by anything (it's already inserted into a block by BuildMI), while on non-release builds it's used by a LLVM_DEBUG statement. Mark as explicitly used to avoid the warning. llvm-svn: 370870
This commit is contained in:
parent
0c960eeaf8
commit
d3466f2667
@ -1172,6 +1172,7 @@ void LiveDebugValues::flushPendingLocs(VarLocInMBB &PendingInLocs,
|
||||
DebugInstr->getDesc(), IsIndirect, Reg,
|
||||
DebugInstr->getDebugVariable(), DebugExpr);
|
||||
}
|
||||
(void)MI;
|
||||
LLVM_DEBUG(dbgs() << "Inserted: "; MI->dump(););
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user