Displaying 1 result from an estimated 1 matches for "zend_vm_set_opcode_handl".
Did you mean:
zend_vm_set_opcode_handler
2008 Jun 19
1
[LLVMdev] Constant function pointers and inlining
...to LLVM IR in the correct
order. However, the PHP API is designed so that the handlers are not
globally accessible (qualified by "static" in the C source). Instead
they're supposed to be accessed like this (in C):
zend_op op;
op.opcode = ... // set the opcode number etc.
...
zend_vm_set_opcode_handler(&op); // let the engine figure out which
handler should be used
op->handler(...); // execute it
Now, the compiler can't know that zend_vm_set_opcode_handler() always
sets the handler to be the same but I do so I'm trying to do this at
compile time (of the PHP function). However...