[m-dev.] diff: allow alias branch to compile
Peter Ross
petdr at cs.mu.OZ.AU
Wed Jan 12 13:58:48 AEDT 2000
Hi,
===================================================================
Estimated hours taken: 0.25
Minor changes to allow the alias branch to compile.
alias/compiler/mercury_compile.m:
Use io__report_stats instead of io__report_full_memory_stats.
alias/compiler/rl_exprn.m:
Import inst_table.
Index: alias/compiler/mercury_compile.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/compiler/mercury_compile.m,v
retrieving revision 1.53.2.23
diff -u -r1.53.2.23 mercury_compile.m
--- alias/compiler/mercury_compile.m 1999/12/22 02:37:37 1.53.2.23
+++ alias/compiler/mercury_compile.m 2000/01/12 01:43:09
@@ -109,7 +109,7 @@
),
globals__io_lookup_bool_option(statistics, Statistics),
( { Statistics = yes } ->
- io__report_full_memory_stats
+ io__report_stats("full_memory_stats")
;
[]
)
Index: alias/compiler/rl_exprn.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/compiler/rl_exprn.m,v
retrieving revision 1.3.2.5
diff -u -r1.3.2.5 rl_exprn.m
--- alias/compiler/rl_exprn.m 1999/12/22 02:38:06 1.3.2.5
+++ alias/compiler/rl_exprn.m 1999/12/23 05:18:37
@@ -84,6 +84,7 @@
:- import_module code_util, hlds_pred, hlds_data, inst_match.
:- import_module instmap, mode_util, tree, type_util, prog_out.
:- import_module rl_out, inlining, hlds_goal, prog_util, error_util.
+:- import_module inst_table.
% Note: the reason that we need to import llds and builtin_ops here is that
% we generate code for builtins by first converting the builtin to LLDS
----
Peter Ross
PhD Student University of Melbourne
http://www.cs.mu.oz.au/~petdr/
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list