[m-rev.] for post-commit review: specialize more folds

Peter Wang novalazy at gmail.com
Fri Dec 2 14:54:01 AEDT 2022


On Thu, 01 Dec 2022 22:03:08 +1100 "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> Specialize more fold predicates.
> 
> compiler/make.dependencies.m:
>     Specialize the remaining uses of deps_set_foldl3_maybe_stop_at_error_mi,
>     and then delete it. Also delete the type and inst that also it used.
> 
>     Delete all the *foldl3* predicates whose only task was to call the
>     corresponding loop predicate, after inlining them at all their call sites.
>     Then transfer their names to their loop predicates.
> 
>     Stop exporting the *foldl* predicates that are not used outside this
>     module.
> 
>     Give a predicate a more expressive name.
> 
> compiler/make.module_target.m:
>     Conform to the changes above.

That's fine.

Peter


More information about the reviews mailing list