diff --git a/lib/CodeGen/MIRPrinter.cpp b/lib/CodeGen/MIRPrinter.cpp index f9595f88b0b..9446849ffd2 100644 --- a/lib/CodeGen/MIRPrinter.cpp +++ b/lib/CodeGen/MIRPrinter.cpp @@ -90,6 +90,7 @@ void MIRPrinter::print(const MachineFunction &MF) { // map back to the correct MBBs when parsing the output. assert(MBB.getNumber() == I++ && "Can't print MBBs that aren't sequentially numbered"); + (void)I; yaml::MachineBasicBlock YamlMBB; convert(YamlMBB, MBB); YamlMF.BasicBlocks.push_back(YamlMBB);