Revert "attempt to correct list refcount generation in dev backends"

This reverts commit 0854a1a53a2db441c648140bdd24de91125ec645.
This commit is contained in:
Brendan Hansknecht 2024-07-07 16:27:50 -07:00
parent 175255cf86
commit e92cf1be42
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
9 changed files with 24 additions and 56 deletions

View file

@ -1621,8 +1621,8 @@ fn low_level_no_rc(lowlevel: &LowLevel) -> RC {
PtrLoad => RC::NoRc,
PtrCast => RC::NoRc,
ListElemDecFnPtr | PtrClearTagId | RefCountIncRcPtr | RefCountDecRcPtr
| RefCountIncDataPtr | RefCountDecDataPtr | RefCountIsUnique => {
PtrClearTagId | RefCountIncRcPtr | RefCountDecRcPtr | RefCountIncDataPtr
| RefCountDecDataPtr | RefCountIsUnique => {
unreachable!("Only inserted *after* borrow checking: {:?}", lowlevel);
}