retire TrailedAttrVarHeapLink TrailEntry tag
This commit is contained in:
@@ -130,16 +130,6 @@ impl MachineState {
|
||||
}
|
||||
}
|
||||
}
|
||||
TrailRef::AttrVarHeapLink(h) => {
|
||||
if h < self.hb {
|
||||
self.trail.push(TrailEntry::build_with(
|
||||
TrailEntryTag::TrailedAttrVarHeapLink,
|
||||
h as u64,
|
||||
));
|
||||
|
||||
self.tr += 1;
|
||||
}
|
||||
}
|
||||
TrailRef::AttrVarListLink(h, l) => {
|
||||
if h < self.hb {
|
||||
self.trail.push(TrailEntry::build_with(
|
||||
|
||||
@@ -863,9 +863,6 @@ impl Machine {
|
||||
TrailEntryTag::TrailedAttrVar => {
|
||||
self.machine_st.heap[h] = attr_var_as_cell!(h);
|
||||
}
|
||||
TrailEntryTag::TrailedAttrVarHeapLink => {
|
||||
self.machine_st.heap[h] = heap_loc_as_cell!(h);
|
||||
}
|
||||
TrailEntryTag::TrailedAttrVarListLink => {
|
||||
let l = self.machine_st.trail[i + 1].get_value() as usize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user