[m-dev.] for review: stop using functors indicators.

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Nov 19 16:16:46 AEDT 1999


On 19-Nov-1999, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> While working on another change to remove type_ctor_functors and
> type_ctor_layouts for builtin types, I needed to stop using
> functors indicators throughout the runtime.

I haven't had a detailed look at that yet.  But it doesn't look like a
bug fix or a change to an isolated part of the system (e.g. the
bytecode, Aditi, or MLDS back-ends), so I think it would probably be
best to enforce the feature freeze and thus wait until after the 0.9
release before committing that change on the main branch.

If that is an impediment to development, feel free to create a branch
and commit it on the branch.

> +++ std_util.m	1999/11/18 02:35:14
> @@ -1219,7 +1219,7 @@
>  /*
>  INIT sys_init_unify_univ_module
>  */
> -MR_MODULE_STATIC_OR_EXTERN ModuleFunc unify_univ_module;
> +extern ModuleFunc unify_univ_module;
>  void sys_init_unify_univ_module(void); /* suppress gcc -Wmissing-decl warning */
>  void sys_init_unify_univ_module(void) {
>  	unify_univ_module();

That one looks to me like a mistake made during cvs merge.
You should not make that change.

> @@ -1726,21 +1746,19 @@
>  	** calls to this function.
>  	*/
>  
> -static int 
> +int 
>  ML_get_functor_info(Word type_info, int functor_number, ML_Construct_Info *info)

I think that might be another cvs merging error.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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