use indexing functions to set num_cells in allocate_and_frame/or_frame (#1877)

This commit is contained in:
Mark
2023-07-11 13:43:34 -06:00
parent 55a1f8d3da
commit bb420e9347
2 changed files with 2 additions and 6 deletions

View File

@@ -690,8 +690,6 @@ impl Machine {
fn try_call(&mut self, name: Atom, arity: usize, idx: IndexPtr) -> CallResult {
let compiled_tl_index = idx.p() as usize;
// println!("calling {}/{}", name.as_str(), arity);
match idx.tag() {
IndexPtrTag::DynamicUndefined => {
self.machine_st.fail = true;
@@ -715,8 +713,6 @@ impl Machine {
fn try_execute(&mut self, name: Atom, arity: usize, idx: IndexPtr) -> CallResult {
let compiled_tl_index = idx.p() as usize;
// println!("executing {}/{}", name.as_str(), arity);
match idx.tag() {
IndexPtrTag::DynamicUndefined => {
self.machine_st.fail = true;