Revert "correct call_residue_vars/3 using new copy_term_3 (#1239)"

This reverts commit 9b35a316c9.
This commit is contained in:
Mark Thom
2023-03-14 21:34:49 -06:00
parent cc8bb38abc
commit 4da646252b
5 changed files with 11 additions and 42 deletions

View File

@@ -469,11 +469,6 @@ impl HeapCellValue {
)
}
#[inline]
pub fn is_attr_var(self) -> bool {
self.get_tag() == HeapCellValueTag::AttrVar
}
#[inline]
pub(crate) fn as_var(self) -> Option<Ref> {
read_heap_cell!(self,