[Mono-list] mono_enter_method/mono_leave_method

Miguel de Icaza miguel@ximian.com
Thu, 15 Apr 2004 15:03:27 -0400


Hello,

> I note in the code in the CVS, that the formerly arch dependent code
> contained within enter_method and leave_method has been "made" platform
> independent and placed in mini.c in the routines mono_enter_method and
> mono_leave_method. However, the method of decoding parameters and results is
> very ABI-specific. The generic stuff just won't work for S/390 for example.
> If you want to have a generic mechanism then I'd suggest the first call
> should be to mono_arch_enter_method/mono_arch_leave_method which could
> return TRUE or FALSE which would indicate whether the rest of the generic
> path should be taken. The mono_arch_xxxx_method routines could either do all
> the processing themselves or just return to the generic to allow it to do
> the work.

I have CCed Paolo on this message.

Lacking further input, it seems like a good plan.