1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[NFC] Fix "unused variable" warning

This commit is contained in:
Vitaly Buka 2021-06-15 12:31:38 -07:00
parent 344955e439
commit 5f8c02be72

View File

@ -852,7 +852,7 @@ struct SemiNCAInfo {
TN->setIDom(NCD);
}
#ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS
#if defined(LLVM_ENABLE_ABI_BREAKING_CHECKS) && !defined(NDEBUG)
for (const TreeNodePtr TN : II.VisitedUnaffected)
assert(TN->getLevel() == TN->getIDom()->getLevel() + 1 &&
"TN should have been updated by an affected ancestor");