[Mono-dev] [PATCH] Generic sharing: Static field access

Mark Probst mark.probst at gmail.com
Mon Nov 19 06:49:13 EST 2007


Hey!

>   I don't really understand why a new trampoline is needed here. Since
> the argument
> to the trampoline is dynamic, it is not possible to patch the caller code, so a
> normal call to mono_runtime_class_init () would be sufficient.

To be honest, I don't see any reason why we shouldn't use an icall in
those cases.  For some reason we defaulted to the trampoline, but it
doesn't seem to be necessary.

Paolo?

Mark



More information about the Mono-devel-list mailing list