[m-dev.] for review: activate type_ctor_representation

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Apr 19 15:14:07 AEST 1999


On 18-Apr-1999, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> The next stage in cleaning up the RTTI information.  Make the
> type_ctor_representation available.

That looks fine.  I have just one comment:

> +++ mercury_type_info.h	1999/04/16 06:42:08
> @@ -46,8 +46,8 @@
>  #define OFFSET_FOR_UNIFY_PRED 1
>  #define OFFSET_FOR_INDEX_PRED 2
>  #define OFFSET_FOR_COMPARE_PRED 3
> -#define OFFSET_FOR_BASE_TYPE_LAYOUT 4
>  #define OFFSET_FOR_BASE_TYPE_FUNCTORS 5
> +#define OFFSET_FOR_BASE_TYPE_LAYOUT 6
>  #define OFFSET_FOR_TYPE_MODULE_NAME 7
>  #define OFFSET_FOR_TYPE_NAME 8

What's now at offset 4?  It would be good to have a comment here
explaining why the offsets go from 3 to 5.

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