From 2952822a8f168f66a37b0d32af758a1ebc7c7609 Mon Sep 17 00:00:00 2001 From: Jarvis Carroll Date: Fri, 22 Aug 2025 14:21:25 +1000 Subject: [PATCH] Debug print AACI instead --- src/gd_v_devman.erl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gd_v_devman.erl b/src/gd_v_devman.erl index adec361..051334d 100644 --- a/src/gd_v_devman.erl +++ b/src/gd_v_devman.erl @@ -838,10 +838,7 @@ open_hash3(State, Address, Source) -> Options = sophia_options(), case so_compiler:from_string(Source, Options) of {ok, Build = #{aci := ACI}} -> -% AACI = hz:prepare_aaci(ACI), - {Defs = #{functions := Funs}, ConIfaces} = find_main(ACI), - Callable = maps:remove("init", Funs), - FunDefs = {maps:put(functions, Callable, Defs), ConIfaces}, + {aaci, _Name, FunDefs, _TypeDefs} = hz:prepare_aaci(ACI), ok = tell(info, "Compilation Succeeded!~n~tp~n~n~tp", [Build, FunDefs]), add_code_page(State, {hash, Address}, Source); Other ->