Files
mercury/tools
Zoltan Somogyi 507ca6c250 Find out which module_and_imports fields are used when.
compiler/module_imports.m:
    We construct module_and_imports structures in three different ways.
    Each way fills in only a subset of the its fields with meaningful
    information. To see whether this is OK, we need to know whether the
    fields filled in with dummies are ever accessed. This diff thus adds
    an extra field to module_and_imports structures that says how they
    were constructed, and if the right compile time flag is set, it records,
    for each construction method, which fields have been accessed.

compiler/mercury_compile_main.m:
    If that same compile time flag is set, append the recorded information
    to a file.

tools/mai_stats:
    This tool summarizes the information in that file.
2019-05-09 21:25:24 +10:00
..
2018-03-07 10:58:22 +11:00
2019-02-05 10:21:13 +11:00

This directory, mercury/tools, contains scripts that are not intended
for use by users.  The scripts here are used by the Mercury developers
for maintaining the Mercury compiler.