Return mapping from variables to registers in fate compilation #902

Merged
ghallak merged 13 commits from ghallak/vars-registers-map into master 2022-10-25 15:42:03 +09:00
Showing only changes of commit 4aa3a6b505 - Show all commits

View File

@ -46,13 +46,13 @@
-define(void, {var, 9999}). -define(void, {var, 9999}).
-record(env, { contract, -record(env, { contract,
vars = [], vars = [],
locals = [], locals = [],
current_function, current_function,
tailpos = true, tailpos = true,
child_contracts = #{}, child_contracts = #{},
saved_fresh_names = #{}, saved_fresh_names = #{},
options = [] }). options = [] }).
%% -- Debugging -------------------------------------------------------------- %% -- Debugging --------------------------------------------------------------