microinstruction: Make use_count private (#53)

Makes the operation a part of the direct interface.
This commit is contained in:
Mat M 2016-11-30 16:51:06 -05:00 committed by Merry
parent 3621a925b2
commit de1f831d79
6 changed files with 31 additions and 32 deletions

View file

@ -37,7 +37,7 @@ void VerificationPass(const IR::Block& block) {
}
for (const auto& pair : actual_uses) {
ASSERT(pair.first->use_count == pair.second);
ASSERT(pair.first->UseCount() == pair.second);
}
}