cleanup gen_refcount and add new test based on map2

This commit is contained in:
Brendan Hansknecht 2024-07-11 15:29:44 -07:00
parent 9a020100a9
commit b28e6b343a
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
4 changed files with 107 additions and 78 deletions

View file

@ -96,3 +96,10 @@ pub enum RefCount {
Deallocated,
Constant,
}
#[allow(dead_code)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum RefCountLoc {
StandardRC,
AfterSize,
}