[m-rev.] for review: typeclass support in Erlang backend

Peter Wang wangp at students.csse.unimelb.edu.au
Mon May 28 12:53:35 AEST 2007


On 2007-05-28, Peter Ross <pro at missioncriticalit.com> wrote:
> > +    %   (See the base_typeclass_info type in rtti.m or the
> > +    %   description in notes/type_class_transformation.html for
> > +    %   more information about the layout of base_typeclass_infos.)
> > +    % Hence the offset is 4.
> > +    %
> > +erl_base_typeclass_info_method_offset = 4.
> > +
> Do you need to add a pointer to this code anywhere, so people don't
> forget to change this magic number?

I'll add a comment to erl_rtti.m.  Thanks.

Peter
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list