[Mono-dev] No tail call optimization for virtual calls

Debacker debackerl at gmail.com
Sat Jun 21 12:25:40 EDT 2008


Mono 1.9.1 does no seem to "optimize" tail virtcall's. As a consequence, I
get a stackoverflow.
Using Microsoft .NET 2.0 is works as expected.
I have attached the IL source code (no C# since C# does not support tail
optimization AFAIK).

Is it a known problem or shall I fill a bug report?

The reason why I would like to play with this is simple: continuations
experiments. I just thought about that yesterday, and I wanted to know
whether it would be feasible or not.

Laurent Debacker.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080621/fd4b26c7/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TailCall2.il
Type: application/octet-stream
Size: 2443 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080621/fd4b26c7/attachment.obj 

More information about the Mono-devel-list mailing list