[Mono-list] arch_create_jit_trampoline () only for virtual methods?

Dietmar Maurer dietmar@ximian.com
18 Oct 2002 14:30:04 +0200


On Fri, 2002-10-18 at 12:20, Holger Arnold wrote:
> Hello,
> 
> the documentation in mono/jit/trampoline.c says that 
> arch_create_jit_trampoline () is used for virtual methods. But, if I read the 
> code in mono/jit/jit.c right, it is also used for non-virtual methods. 
> 
> Could please someone explain to me what is right and how virtual and 
> non-virtual methods are handled differently with respect to the trampolining 
> stuff?

The same trampoline is used for virtual and non-virtual function.

- Dietmar