Skip to content

Implement a tail call invoke#502

Open
xmaton wants to merge 5 commits into
asmjit:masterfrom
xmaton:tailcall2
Open

Implement a tail call invoke#502
xmaton wants to merge 5 commits into
asmjit:masterfrom
xmaton:tailcall2

Conversation

@xmaton

@xmaton xmaton commented Dec 10, 2025

Copy link
Copy Markdown

I'm getting back to working on #447

This is a first stab at the implementation:

  • added invoke_tail functions as a variation of invoke
  • adjusted a function call epilog generation
  • tests

Notably, there are no tail call eligibility tests whatsoever. The callers are responsible to make sure that the tail calls are valid/legitimate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant