1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix -Wunused-variable in non-asserts build.

llvm-svn: 267128
This commit is contained in:
Eric Liu 2016-04-22 09:50:31 +00:00
parent ffe901fc26
commit 0e5671c4ab

View File

@ -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);