Skip to content

ZJIT: Drop trace_zjit_* instructions #13189

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
Apr 28, 2025
Merged

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Apr 28, 2025

This PR removes trace_zjit_* instructions. We don't need to profile them because we don't JIT-compile traced instructions. It also refactors rb_vm_encoded_insn_data_table_init() a little to clarify the ZJIT-specific implementation.

This is a preparation for undefining zjit_* instructions when USE_ZJIT is 0. That change is out of scope in this PR.

This comment has been minimized.

@k0kubun k0kubun marked this pull request as ready for review April 28, 2025 10:25
@matzbot matzbot requested a review from a team April 28, 2025 10:26
@k0kubun k0kubun merged commit 58e3aa0 into ruby:master Apr 28, 2025
82 of 86 checks passed
@k0kubun k0kubun deleted the zjit-less-insns branch April 28, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants