]> granicus.if.org Git - php/commit
Fix SSA for ZEND_YIELD
authorNikita Popov <nikic@php.net>
Fri, 22 Jan 2016 14:38:38 +0000 (15:38 +0100)
committerNikita Popov <nikic@php.net>
Sun, 24 Jan 2016 22:03:50 +0000 (23:03 +0100)
commitcf6aa46dbd70539c66a722d7f165cac242c9e1db
treeef04ca3abbe08fddbe0572650b99f34007af5137
parent9017bb94d406904bd287947f21925a1a7841366b
Fix SSA for ZEND_YIELD

Yield-by-ref defs a ref var, yield-by-var only defs an rc1/rcn var
if rc inference is used.

Also move BIND_LEXICAL where it belongs in DFG construction.
ext/opcache/Optimizer/zend_dfg.c
ext/opcache/Optimizer/zend_inference.c
ext/opcache/Optimizer/zend_ssa.c