[m-rev.] diff: disable equiv_type_hlds pass

Simon Taylor stayl at cs.mu.OZ.AU
Wed Dec 10 01:00:08 AEDT 2003


Estimated hours taken: 0.1
Branches: main

compiler/mercury_compile.m:
	Temporarily disable the equiv_type_hlds pass -- it
	uses too much memory.

Index: mercury_compile.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/mercury_compile.m,v
retrieving revision 1.295
retrieving revision 1.296
diff -u -u -r1.295 -r1.296
--- mercury_compile.m	1 Dec 2003 15:55:41 -0000	1.295
+++ mercury_compile.m	9 Dec 2003 12:58:29 -0000	1.296
@@ -2968,7 +2968,11 @@
 	maybe_write_string(Verbose,
 		"% Fully expanding equivalence types..."),
 	maybe_flush_output(Verbose),
-	{ equiv_type_hlds__replace_in_hlds(HLDS0, HLDS) },
+
+	{ HLDS = HLDS0 },
+	% XXX There's a performance bug (excessive memory usage)
+	% in here somewhere.
+	% { equiv_type_hlds__replace_in_hlds(HLDS0, HLDS) },
 	maybe_write_string(Verbose, " done.\n").
 
 %-----------------------------------------------------------------------------%
--------------------------------------------------------------------------
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