[Mono-dev] [PATCH] Implement support for compiled regular expressions in profile 1.x

Rodrigo Kumpera kumpera at gmail.com
Fri Apr 3 15:59:18 EDT 2009


I think a better approach instead of using dynamic assemblies is to use
dynamic methods on 1.0 as well.
They can be exposed as internal stuff from mscorlib to System and most of
the work will replacing the generic
stuff.

2009/4/2 Kornél Pál <kornelpal at gmail.com>

> Hi,
>
> Because of the restrictions of 1.x I modified visibility so I also would
> like to set skipVisibility = false in DynamicMethod constructor (not
> included in the patch) to avoid 1.x only bugs because of this.
>
> Kornél
>
> Kornél Pál wrote:
> > Hi,
> >
> > I've implement support for compiled regular expressions in profile 1.x
> > using dynamic assemblies.
> >
> > I also have cleaned up the code by removing GetEvalMethod and
> > CreateEvalMethod methods and moving their functionality to
> > GetMachineFactory.
> >
> > I also modified the signature of EmitEvalMethodBody and replaced generic
> > dictionaries with hashtables in profile 1.x that results in a larger
> > patch but I haven't modify the actual code generator.
> >
> > I also had to modify some visibility levels to pass runtime type checks.
> >
> > Please review the attached patch.
> >
> > Kornél
> >
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090403/860ad4e9/attachment.html 


More information about the Mono-devel-list mailing list