[m-rev.] diff: remove another unnecessary package dependency
Julien Fischer
juliensf at cs.mu.OZ.AU
Mon Mar 21 16:06:16 AEDT 2005
Estimated hours taken: 0.5
Branches: main
Remove another unnecessary package dependency in the compiler.
compiler/ml_backend.m:
Don't import the transform_hlds package, it isn't needed.
Document why the check_hlds package need to be imported.
Julien.
Workspace:/home/swordfish/juliensf/ws70
Index: compiler/ml_backend.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/ml_backend.m,v
retrieving revision 1.8
diff -u -r1.8 ml_backend.m
--- compiler/ml_backend.m 19 Jan 2005 03:10:42 -0000 1.8
+++ compiler/ml_backend.m 21 Mar 2005 05:01:50 -0000
@@ -78,9 +78,9 @@
:- import_module backend_libs.
:- import_module libs.
-:- import_module check_hlds. % is this needed?
+:- import_module check_hlds. % needed for type_util, mode_util,
+ % and polymorphism.
:- import_module mdbcomp.
-:- import_module transform_hlds. % is this needed?
:- import_module aditi_backend. % need aditi_backend.rl_file
:- end_module ml_backend.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list