[m-dev.] for review: make unboxed enums and no-tag types optional

David Overton dmo at cs.mu.OZ.AU
Wed Aug 9 13:30:21 AEST 2000


On Wed, Aug 09, 2000 at 01:19:56PM +1000, Tyson Dowd wrote:
> --- compiler/make_tags.m	2000/03/10 13:37:46	1.30
> +++ compiler/make_tags.m	2000/08/08 06:48:27
> @@ -78,6 +81,7 @@
>  		(
>  			% assign single functor of arity one a `no_tag' tag
>  			% (unless it is type_info/1)
> +			globals__lookup_bool_option(Globals, no_tag_types, yes),
>  			type_is_no_tag_type(Ctors, SingleFunc, SingleArg)
>  		->
>  			make_cons_id_from_qualified_sym_name(SingleFunc,

I think there are other places where you will need to do this test,  e.g.
`mode_util:mode_to_arg_mode'.


David
-- 
David Overton      Department of Computer Science & Software Engineering
PhD Student        The University of Melbourne, Victoria 3010, Australia
+61 3 8344 9159    http://www.cs.mu.oz.au/~dmo
--------------------------------------------------------------------------
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