[Mono-list] Announce: A .NET assembly -> native codegenerationtool (ala ngen for MONO)

Dietmar Maurer dietmar@ximian.com
29 Jul 2002 18:17:00 +0200

On Mon, 2002-07-29 at 17:40, Zoltan.2.Varga@nokia.com wrote:
> If the pointer returned by get_trampoline is put into a vtable, then get_unbox_trampoline() might need to be applied to it.

Do you have a test case which shows that problem?

> The separate trampoline is needed because the trampoline can't decide whenever this was a virtual call or not. After 
> wrestling with virtual/non-virtual call detection for a _long_ time, I decided to move non-virtual call handling to a 
> separate trampoline, and leave the virtual call handling to x86_magic_trampoline.

What is the problem when the call is not virtual (maybe the problem is
that magic trampoline tries to modify write protected gcc code)?

- Dietmar