[jvm-l] Re: Tail calls again?
forax at univ-mlv.fr
Sat Dec 12 03:31:21 PST 2009
Le 12/12/2009 12:09, Tom Davies a écrit :
> On 11/12/2009, at 2:10 AM, Arnold Schwaighofer wrote:
>> Hi everybody,
>> the latest version of the patches i have are against vanilla openjdk
>> b59 (not mlvm). As far as I remember the patches would not cleanly
>> apply to the mlvm branch at that time.
>> I build and tested on linux x86-32 (tail calls on x86-64 are not implemented).
>> Note that using the invokedynamic stuff together with this patch is
>> not tested and very likely will not work.
>> Sadly, I currently can not devote much time to working on it.
> Thanks for posting the patch, Arnold.
> I've massaged it sufficiently to apply to the tip of bsd-port, and have a trivial tail recursive example compiling and running. (OS X 10.6, 32bit JDK)
> Getting the patch to apply was easy (although there was a little 'fuzz' involved), but fixing a couple of subsequent compile errors required a little guesswork on my part.
> I'm going to use the JDK a bit more to convince myself that I haven't broken anything...
nice work !
Can you post your patch, I can review it and
try to compile it on my linux 32 bits.
More information about the mlvm-dev