[Mono-list] Tailcall

Neale.Ferguson@SoftwareAG-USA.com Neale.Ferguson@SoftwareAG-USA.com
Thu, 15 Jul 2004 11:19:13 -0400


Hi,
 The implementation of tailc is quite x86-centric in mini.c. It assumes =
that all parameters are on the stack and by simply going back to the =
previous stack frame then the jump to the new routine will have access =
to the parameters that it wants. For architectures where parameters can =
be in registers as well as on the stack then this causes problems. The =
tailc needs to be processed like a normal call so that the registers get =
set up properly but the actual call can be like "jmp". I'm not sure what =
the best approach to fixing this would be.

Neale Ferguson=20