#359 Tail call optimization

closed
hc08 port (9)
5
2012-05-21
2012-05-13
No

A hc08 peephole should optimize jsr followed by rts into jmp (similar to z80 peephole 114). To fully use this, #3526270 is a prerequesite.

Philipp

Discussion

  • Philipp Klaus Krause

    Implemented in revision #7753.

    Philipp

     
  • Philipp Klaus Krause

    • assigned_to: nobody --> spth
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2012-05-21

    I noticed that the peepholes do not check for optimizeReturn. This can cause bug 1653651 on this port.

     
  • Philipp Klaus Krause

    I added the check in revision #7757.

    Philipp

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks