Files
mercury/compiler/structure_reuse.m
Zoltan Somogyi 75caa24cf5 Delete include_modules from two non-package modules.
compiler/format_call.m:
    Delete the inclusion of the parse_string_format submodule.

compiler/simplify.m:
    Include the parse_string_format module in this package instead.
    (simplify.m also includes the format_call module.)

compiler/structure_reuse.direct.m:
    Delete the inclusion of the choose_reuse and detect_garbage submodules.

compiler/structure_reuse.m:
    Include the choose_reuse and detect_garbage submodules in this package
    instead, under their new names direct_choose_reuse and
    direct_detect_garbage. (structure_reuse.m also includes the
    structure_reuse.direct module.)

    Include the new dead_cell_table module, which this diff carves out of
    structure_reuse.direct.m.

compiler/parse_string_format.m:
    Conform to the move.

    Move a predicate out of the middle of the implementation of another
    predicate.

compiler/structure_reuse.direct_choose_reuse.m:
compiler/structure_reuse.direct_detect_garbage.m:
    Conform to the move.

compiler/structure_reuse.dead_cell_table.m:
    This new module contains the parts of the old structure_reuse.direct.m
    that the rest of structure_reuse.direct.m did not really use; they were
    there mostly for the benefit of what are now the direct_choose_reuse
    and direct_detect_garbage modules.

compiler/smm_common.m:
    Document some bit rot.

compiler/notes/compiler_design.html:
    This diff should update the documentation of the moved modules,
    but it cannot, since they didn't have any :-(

    Document the parse_string_format module.

    Add a bare nod to documenting the ctgc package of which structure_reuse
    is a part, since I don't know enough about it to document it properly.

    Document the smm_common module.
2024-06-14 11:46:33 +10:00

36 lines
1.3 KiB
Mathematica

%-----------------------------------------------------------------------------%
% vim: ft=mercury ts=4 sw=4 et
%-----------------------------------------------------------------------------%
% Copyright (C) 2006, 2008 The University of Melbourne.
% This file may only be copied under the terms of the GNU General
% Public License - see the file COPYING in the Mercury distribution.
%-----------------------------------------------------------------------------%
%
% File: structure_reuse.m.
% Main author: nancy.
%
% Package grouping all the modules related to the structure reuse analysis
% part of compile-time garbage collection.
%
%-----------------------------------------------------------------------------%
:- module transform_hlds.ctgc.structure_reuse.
:- interface.
:- include_module analysis.
:- include_module lfu.
:- include_module lbu.
:- include_module direct.
:- include_module dead_cell_table.
:- include_module direct_choose_reuse.
:- include_module direct_detect_garbage.
:- include_module indirect.
:- include_module versions.
:- include_module domain.
%-----------------------------------------------------------------------------%
:- end_module transform_hlds.ctgc.structure_reuse.
%-----------------------------------------------------------------------------%