Files
mercury/compiler/backend_libs.m
Zoltan Somogyi 4f1e7a3b7d Get offsets only from ctor_arg_repns.
compiler/ml_unify_gen.m:
    About a month ago, I added to the representation of each constructor
    argument a record of the offset within the constructor's memory cell
    that the argument is stored at. Nevertheless, I also kept the code
    that computed these offsets the old way, and required the two sources
    of offset information to match.

    Since we haven't had any failures of these sanity checks for about
    a month, this diff deletes both sanity checks and the code computing
    offsets the old way.

compiler/arg_pack.m:
    Delete this module, since the change to ml_unify_gen.m deletes
    the only code in the compiler that still used it.

compiler/backend_libs.m:
    Do not include arg_pack.m.

compiler/notes/compiler_design.html:
    Delete the documentation of arg_pack.m.
2018-06-08 15:58:55 +02:00

41 lines
1.3 KiB
Mathematica

%-----------------------------------------------------------------------------%
% vim: ft=mercury ts=4 sw=4 et
%-----------------------------------------------------------------------------%
% Copyright (C) 2002-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.
%-----------------------------------------------------------------------------%
%
% Back-end libraries.
%
% This package contains utility modules that are each used by
% several different back-ends.
%
:- module backend_libs.
:- interface.
:- include_module base_typeclass_info.
:- include_module builtin_ops.
:- include_module bytecode_data.
:- include_module c_util.
:- include_module compile_target_code.
:- include_module erlang_rtti.
:- include_module export.
:- include_module foreign.
:- include_module interval.
:- include_module matching.
:- include_module name_mangle.
:- include_module proc_label.
:- include_module pseudo_type_info.
:- include_module rtti.
:- include_module string_encoding.
:- include_module switch_util.
:- include_module type_ctor_info.
:- include_module type_class_info.
:- implementation.
:- end_module backend_libs.
%-----------------------------------------------------------------------------%