[m-rev.] diff: enable --intermodule-optimization for java

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Nov 11 12:24:04 AEDT 2002


On 10-Nov-2002, Peter Ross <peter.ross at miscrit.be> wrote:
> 
> compiler/handle_options.m:
> 	--high-level-data and --automatic-intermodule-optimization implies
> 	--intermodule-optimization when compiling for java to avoid problems
> 	with equivalence types.

Estimated hours taken: 0.1
Branches: main

compiler/handle_options.m:
	Fix a bug in petdr's last change:
	Don't use the "HighLevelData" variable, because
	--high-level-data is always enabled for the Java back-end.

Workspace: /home/mars/fjh/ws1/mercury
Index: compiler/handle_options.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/handle_options.m,v
retrieving revision 1.159
diff -u -d -r1.159 handle_options.m
--- compiler/handle_options.m	10 Nov 2002 16:50:32 -0000	1.159
+++ compiler/handle_options.m	11 Nov 2002 01:21:56 -0000
@@ -437,7 +437,7 @@
 		globals__io_set_option(static_ground_terms, bool(no)),
 		globals__io_set_option(put_nondet_env_on_heap, bool(yes)),
 
-		( { HighLevelData = yes, AutoIntermodOptimization = yes } ->
+		( { AutoIntermodOptimization = yes } ->
 			globals__io_set_option(intermodule_optimization,
 					bool(yes))
 		;
-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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