fix recursive tag memory layout

This commit is contained in:
Folkert 2023-09-13 13:39:50 +02:00
parent 1cb57859cf
commit 44777c5cac
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 61 additions and 36 deletions

View file

@ -486,8 +486,6 @@ fn jit_to_ast_help<'a, A: ReplApp<'a>>(
}
};
dbg!("got here");
app.call_function_dynamic_size(
main_fn_name,
result_stack_size as usize,
@ -755,6 +753,7 @@ fn addr_to_ast<'a, M: ReplAppMemory>(
let (tag_id, ptr_to_data) = tag_id_from_recursive_ptr(env, mem, union_layout, addr);
let (tag_name, arg_layouts) = &tags_and_layouts[tag_id as usize];
expr_of_tag(
env,