Skip to content

zend_vm_gen.php: Make room for new zend_vm_opcodes_flags flags#21476

Open
arnaud-lb wants to merge 1 commit intophp:masterfrom
arnaud-lb:vm-op-flags
Open

zend_vm_gen.php: Make room for new zend_vm_opcodes_flags flags#21476
arnaud-lb wants to merge 1 commit intophp:masterfrom
arnaud-lb:vm-op-flags

Conversation

@arnaud-lb
Copy link
Member

Make room for new zend_vm_opcodes_flags flags.

I needed several times to add new ZEND_VM_OP_ or ZEND_VM_EXT_ flags, but there is no room left. Here I make some room to facilitate future experiments that may need new flags.

Essentially I'm promoting zend_get_opcode_flags() to a uint64_t. In zend_vm_gen.php I split the OP and EXT flags in two separate sets to maintain 32bit support. In Zend/zend_vm_opcodes.c we can unify them again.

Split OP flags and EXT flags in two separate sets, in zend_vm_gen.php to
maintain 32bit support. In Zend/zend_vm_opcodes.c we can unify them again.
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.

1 participant