]> granicus.if.org Git - php/commit
Avoid repeatable ARG_SHOULD_BE_SENT_BY_REF() checks in FETCH_*FUNC_ARG and following...
authorDmitry Stogov <dmitry@zend.com>
Mon, 5 Feb 2018 16:40:06 +0000 (19:40 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 5 Feb 2018 16:40:06 +0000 (19:40 +0300)
commit3a794d39f081f73b2204aed8b80163a197ab41c3
tree90af4978f502d85b1a1ac1e1e72ebeaf9e65d6bc
parent7416562ab0c1062722c43c6b55d38e1a79f217cb
Avoid repeatable ARG_SHOULD_BE_SENT_BY_REF() checks in FETCH_*FUNC_ARG and following SEND_VAR_EX. Perform the check once in a new CHECK_FUNC_ARG opcode and reuse in the following FETCH_*FUNC_ARG and SEND_FUNC_ARG (SEND_VAR_EX replacement).
16 files changed:
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_execute.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Zend/zend_vm_gen.php
Zend/zend_vm_opcodes.c
Zend/zend_vm_opcodes.h
ext/opcache/Optimizer/optimize_func_calls.c
ext/opcache/Optimizer/sccp.c
ext/opcache/Optimizer/zend_call_graph.c
ext/opcache/Optimizer/zend_dfg.c
ext/opcache/Optimizer/zend_dump.c
ext/opcache/Optimizer/zend_inference.c
ext/opcache/Optimizer/zend_optimizer.c
ext/opcache/Optimizer/zend_ssa.c