On Mon, Aug 23, 2010 at 3:29 PM, Robert Jordan <robe...@gmx.net> wrote:

> On 23.08.2010 19:24, Jerry Maine wrote:
> > Would the c# portion of the patch work on MS .Net?
>
> Dammit! I thought the icall would be ignored by MS.NET because
> I took care of not invoking it in this case. But icalls are not
> allowed in assemblies != mscorlib under MS.NET.
>
> Unless I'm misguided, the only solution seems to evolve
> around adding a branch to
>
>        marshal.cs: mono_marshal_get_runtime_invoke ()
>
> Schematic code:
>
> if (method->klass == "Mono.Simd.SimdRuntime") {
>        need_direct_wrapper = TRUE;
> }
>
> The flag will instruct this function to create yet another
> wrapper around calls to methods of the Mono.Simd.SimdRuntime
> class. This additional wrapper lets the runtime take the
> fast path even for reflection calls.
>


I think it's easier to catch the security exception under MS since its
accell mode is None anyway.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to