99
100
%% Generate list of augmented functions.
101
Weight = core_lib:fold(fun weight_func/2, 0, B),
102
Weight = cerl_trees:fold(fun weight_func/2, 0, B),
102
103
#fstat{func=F,arity=A,def=Def,weight=Weight}
104
105
%% Get inlineable functions, and inline them with themselves.