[m-rev.] for review: switch generation cleanups

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Nov 26 15:35:44 AEDT 2007


On Mon, 26 Nov 2007, Zoltan Somogyi wrote:

> Make the code in the LLDS backend that handles switches more systematic:
> clarify the code that decides what kind of switch we will generate, make it
> more configurable, document the decision algorithm better, rename predicates
> to make their purpose clearer and avoid ambiguities,
>
> compiler/switch_gen.m:
> compiler/dense_switch.m:
> 	Make the changes listed above.
>
> compiler/options.m:
> 	Add two new options that allow some decisions of switch_gen to be
> 	controlled by the user.
>
> compiler/code_info.m:
> 	Add a utility predicate for use by switch_gen.m.
>
> compiler/code_gen.m:
> compiler/disj_gen.m:
> compiler/middle_rec.m:
> compiler/pragma_c_gen.m:
> compiler/proc_gen.m:
> compiler/trace_gen.m:
> compiler/unify_gen.m:
> 	Delete unnecessary module qualifications.

That looks fine.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list