[m-dev.] for review: cleanup of access predicates in hlds_module

David Glen JEFFERY dgj at cs.mu.oz.au
Mon Dec 15 11:26:18 AEDT 1997


> 
> DJ, please review this.
> 
> hlds_module.m:
> 	Remove unused fields from dependency_info, and clean up the way
> 	dependency_infos are accessed.
> 
> 	Add a new field that will be needed for nondet pragma C codes.
> 
> 	Clean up the access predicates of module_info. Get rid of some
> 	ad-hoc substructures of module_info. Instead, consolidate all
> 	infrequently updated fields into a module_sub_info (updated only
> 	9 times while compiling make_hlds).
> 
> 	This change reduces memory consumption by 0.5%.
> 
> Zoltan.

That's fine, but it may be worth mentioning in the log message that the
base_gen_data type has been removed.

Commit away.


love and cuddles,
dgj
-- 
David Jeffery (dgj at cs.mu.oz.au) |  Marge: Did you just call everyone "chicken"?
MEngSc student,                 |  Homer: Noooo.  I swear on this Bible!
Department of Computer Science  |  Marge: That's not a Bible; that's a book of
University of Melbourne         |         carpet samples!
Australia                       |  Homer: Ooooh... Fuzzy.



More information about the developers mailing list