Silence unused variable warning in release builds. NFC

This commit is contained in:
Benjamin Kramer 2022-09-18 09:15:32 +02:00
parent 4667821151
commit b987fe4972
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ PreservedAnalyses ModuleInlinerPass::run(Module &M,
// Loop forward over all of the calls.
while (!Calls->empty()) {
Function &F = *Calls->front().first->getCaller();
(void)F;
LLVM_DEBUG(dbgs() << "Inlining calls in: " << F.getName() << "\n"
<< " Function size: " << F.getInstructionCount()