mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-18 07:15:19 +00:00
Estimated hours taken: 1 Branches: main Preparing the field for adding CTGC into the compiler by starting to add the structure sharing analysis. compiler/mercury_compile.m: compiler/options.m: compiler/transform_hlds.m: Add structure sharing analysis as a new pass of the mercury compiler. compiler/ctgc.m: compiler/structure_sharing.analysis.m: compiler/structure_sharing.m: New files.
32 lines
943 B
Mathematica
32 lines
943 B
Mathematica
%-----------------------------------------------------------------------------%
|
|
% Copyright (C) 2005 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_sharing.analysis.m
|
|
% Main authors: nancy
|
|
%
|
|
% Implementation of the data structure analysis.
|
|
%
|
|
%-----------------------------------------------------------------------------%
|
|
|
|
:- module transform_hlds.ctgc.structure_sharing.analysis.
|
|
|
|
:- interface.
|
|
|
|
:- import_module hlds__hlds_module.
|
|
|
|
:- import_module io.
|
|
|
|
:- pred data_structure_sharing_analysis(module_info::in, module_info::out,
|
|
io__state::di, io__state::uo) is det.
|
|
|
|
:- implementation.
|
|
|
|
:- import_module io.
|
|
|
|
data_structure_sharing_analysis(!HLDS, !IO).
|
|
|
|
:- end_module transform_hlds.ctgc.structure_sharing.analysis.
|