[llvm] Cast to (void) the unused variable.

This commit is contained in:
Alexander Belyaev 2020-07-05 12:33:53 +02:00
parent e8158bf0e7
commit 2247f7218a
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ MachineBasicBlock *fixBrTable(MachineInstr &MI, MachineBasicBlock *MBB,
const auto &TII = *MF.getSubtarget<WebAssemblySubtarget>().getInstrInfo();
bool Analyzed = !TII.analyzeBranch(*HeaderMBB, TBB, FBB, Cond);
assert(Analyzed && "Could not analyze jump header branches");
(void)Analyzed;
// Here are the possible outcomes. '_' is nullptr, `J` is the jump table block
// aka MBB, 'D' is the default block.