[Mono-dev] Patch: Generic code sharing for value types

Zoltan Varga vargaz at gmail.com
Tue Sep 23 09:28:49 EDT 2008


  The method-to-ir.c changes look good. One improvement might be
getting rid of EMIT_GET_RGCTX, i.e. integrating it into the
emit_get_rgctx_.... functions.


2008/9/23 Mark Probst <mark.probst at gmail.com>:
> Hi,
> This patch enabled generic code sharing for value types.  The important
> difference to reference types is that value types don't have a vtable
> pointer, which means that the RGCTX needs to be provided separately.  We
> do this in the same way we as with static methods, namely via an
> implicit argument.
> Paolo: Please review.
> Mark
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list