Skip to content

Fix regression on systems built without JIT #16024

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
Sep 24, 2024

Conversation

NattyNarwhal
Copy link
Member

regressing commit: 654b787

This was called if JIT was enabled or not. If not enabled, it'll result in an undeclared function warning and maybe a bad time in the linker. Gate the meat of this PHP-side function on if JIT is enabled (but keep it existing so PHP userland code works with or without JIT, OFC).

regressing commit: 654b787

This was called if JIT was enabled or not. If not enabled, it'll result
in an undeclared function warning and maybe a bad time in the linker.
Gate the meat of this PHP-side function on if JIT is enabled (but keep
it existing so PHP userland code works with or without JIT, OFC).
NattyNarwhal referenced this pull request Sep 24, 2024
Internally accessible via zend_jit_blacklist_function / externally via opcache_jit_blacklist.
The functionality currently only affects tracing JIT, but may be extended to other JIT modes in future.
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@NattyNarwhal NattyNarwhal merged commit f5f05e8 into php:master Sep 24, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants