[perl #51206] [BUG] Tail call into PIR compiler broken?

Will Coleda via RT parrotbug-followup at parrotcode.org
Mon Sep 21 03:28:34 UTC 2009


On Wed Feb 27 08:49:19 2008, jnthn at jnthn.net wrote:
> Hi,
> 
> I just reverted a tailcall optimization done in:
> 
> http://parrotvm.org/svn/parrot/revision/?rev=26052
> 
> Namely, the second hunk from HLLCompiler, inside the evalpmc method. It 
> seems that tail-calling into the PIR compiler sometimes works, and 
> sometimes doesn't. Certainly you can reproduce it just with "class { }" 
> in Rakudo, though "say 'hai'" worked.
> 
> I left the rest of that patch in place, so you just need to do that one 
> optimization to re-produce this bug again.
> 
> Thanks,
> 
> Jonathan
> 

This issue is now being tracked in https://trac.parrot.org/parrot/ticket/1029 (FYI, the failure 
mode is now different, as is the tailcall syntax, but there's definitely still an issue.)

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list