[m-dev.] for review: activate type_ctor_representation
Tyson Dowd
trd at cs.mu.OZ.AU
Mon Apr 19 15:23:55 AEST 1999
On 19-Apr-1999, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> 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.
I will just add
#define OFFSET_FOR_TYPE_CTOR_REPRESENTATION 4
--
The quantum sort:
while (!sorted) { do_nothing(); }
Tyson Dowd <tyson at tyse.net> http://tyse.net/
--------------------------------------------------------------------------
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