Skip to content

[NFC] codegen: Move target ABI calculation into jl_jit_abi_converter #58718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

topolarity
Copy link
Member

@topolarity topolarity commented Jun 12, 2025

Makes the API more directly reflect the operation here, which is essentially "Give me a specptr with ABI abi that invokes CodeInstance codeinst"

This relieves the caller of the responsibility to peek into the CodeInstance and pull out all of the correct bits to determine the appropriate callee ABI.

@topolarity topolarity requested a review from vtjnash June 12, 2025 13:14
@topolarity topolarity force-pushed the ct/jl_jit_abi_converter branch 2 times, most recently from 2081695 to 18c74a5 Compare June 12, 2025 13:57
This relieves the caller of the responsibility to peek into the
CodeInstance and pull out all of the correct bits to determine
the appropriate callee ABI and makes the API more directly reflect
the operation here, which is approximately "Give me a specptr with
ABI `abi` that invokes CodeInstance `codeinst`"
@topolarity topolarity force-pushed the ct/jl_jit_abi_converter branch from 18c74a5 to d7bd27a Compare June 12, 2025 14:17
@topolarity topolarity merged commit ab49eb1 into JuliaLang:master Jun 13, 2025
7 checks passed
nilesh646 pushed a commit to nilesh646/julia that referenced this pull request Jun 17, 2025
JuliaLang#58718)

Makes the API more directly reflect the operation here, which is
essentially "Give me a specptr with ABI `abi` that invokes CodeInstance
`codeinst`"

This relieves the caller of the responsibility to peek into the
CodeInstance and pull out all of the correct bits to determine the
appropriate callee ABI.
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.

2 participants