unmark cells in arith_eval_by_metacall (#1497)
This commit is contained in:
@@ -1128,6 +1128,8 @@ impl MachineState {
|
|||||||
return Err(self.error_form(evaluable_error, stub_gen()));
|
return Err(self.error_form(evaluable_error, stub_gen()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let value = unmark_cell_bits!(value);
|
||||||
|
|
||||||
read_heap_cell!(value,
|
read_heap_cell!(value,
|
||||||
(HeapCellValueTag::Atom, (name, arity)) => {
|
(HeapCellValueTag::Atom, (name, arity)) => {
|
||||||
if arity == 2 {
|
if arity == 2 {
|
||||||
|
|||||||
Reference in New Issue
Block a user