[m-dev.] for review: removing the general index predicate

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Apr 11 13:37:55 AEST 2000


On 10-Apr-2000, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> Index: runtime/mercury_type_info.h
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/runtime/mercury_type_info.h,v
> retrieving revision 1.45
> diff -u -b -r1.45 mercury_type_info.h
> --- runtime/mercury_type_info.h	2000/04/05 06:28:59	1.45
> +++ runtime/mercury_type_info.h	2000/04/08 08:54:12
> @@ -748,7 +748,7 @@
>  struct MR_TypeCtorInfo_Struct {
>      Integer             arity;
>      Code                *unify_pred;
> -    Code                *index_pred;
> +    Code                *new_unify_pred;
>      Code                *compare_pred;
>      MR_TypeCtorRep      type_ctor_rep;
>      Code                *solver_pred;

A comment here explaining the purpose of the `new_unify_pred'
field would be very helpful.

-- 
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