mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 13:40:30 +00:00
Fix -Wunused-variable in non-asserts build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c4f4f71fb7
commit
2321e6017b
@ -444,6 +444,7 @@ bool RegisterBankInfo::InstructionMapping::verify(
|
||||
assert(MI.getParent() && MI.getParent()->getParent() &&
|
||||
"MI must be connected to a MachineFunction");
|
||||
const MachineFunction &MF = *MI.getParent()->getParent();
|
||||
(void)MF;
|
||||
|
||||
for (unsigned Idx = 0; Idx < NumOperands; ++Idx) {
|
||||
const MachineOperand &MO = MI.getOperand(Idx);
|
||||
|
Loading…
Reference in New Issue
Block a user