[m-rev.] diff/for review: break up make_hlds.m
Ralph Becket
rafe at cs.mu.OZ.AU
Tue Jul 26 11:17:29 AEST 2005
Zoltan Somogyi, Monday, 25 July 2005:
> Divide make_hlds.m into submodules of manageable size.
>
> compiler/make_hlds.m:
> Distribute all the code that was previous here to new submodules.
> Include those submodules. Keep the existing interface of this module
> by defining predicates that do nothing except call the actual
> implementation in one of those submodules. The only changes visible
> from outside are the renaming of a predicate and the creation of a
> second name, make_hlds_qual_info, for qual_info. Both changes are
> designed to avoid ambiguity in the presence of intermodule
> optimization.
Excellent! I presume that in future we should call the new modules
directly rather than go via make_hlds, or is that a bad idea?
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list