Skip to content

Introduce zend_vm_opcode_handler_t / zend_vm_opcode_handler_func_t #19006

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arnaud-lb
Copy link
Member

@arnaud-lb arnaud-lb commented Jul 2, 2025

This reduces the changes of confusion between opcode handlers used by the VM, and opcode handler functions used for tracing or debugging. Depending on the VM, zend_vm_opcode_handler_t may not be a function. For instance in the HYBRID VM this is a label pointer.

Extracted from #18720.

This reduces confusion between opcode handlers used by the VM, and opcode
handler functions used for tracing. Depending on the VM,
zend_vm_opcode_handler_t may not be a real function. For instance in the HYBRID
VM this is a label pointer.
@arnaud-lb arnaud-lb force-pushed the opcode-handler-type branch from bdaf126 to ed49acd Compare July 2, 2025 08:36
@arnaud-lb arnaud-lb marked this pull request as ready for review July 2, 2025 13:47
@arnaud-lb arnaud-lb requested a review from dstogov as a code owner July 2, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment