com php-src: Removed wrong (old) code: ext/opcache/Optimizer/ze nd_dfg.c

From: Date: Mon, 08 Feb 2016 09:20:37 +0000
Subject: com php-src: Removed wrong (old) code: ext/opcache/Optimizer/ze nd_dfg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90964@lists.php.net to get a copy of this message
Commit: 1544fec94b686418e85f88879a1b13c141cb01f3 Author: Dmitry Stogov <dmitry@zend.com> Mon, 8 Feb 2016 12:20:37 +0300 Parents: bd497f426c6f7302e03cdfee1ec2f2ad9062ae2a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1544fec94b686418e85f88879a1b13c141cb01f3 Log: Removed wrong (old) code Changed paths: M ext/opcache/Optimizer/zend_dfg.c Diff: diff --git a/ext/opcache/Optimizer/zend_dfg.c b/ext/opcache/Optimizer/zend_dfg.c index fa5079b..704b84e 100644 --- a/ext/opcache/Optimizer/zend_dfg.c +++ b/ext/opcache/Optimizer/zend_dfg.c @@ -196,12 +196,6 @@ op2_use: } DFG_SET(gen, set_size, j, EX_VAR_TO_NUM(opline->result.var)); } - if ((opline->opcode == ZEND_FE_FETCH_R || opline->opcode == ZEND_FE_FETCH_RW) && opline->result_type == IS_TMP_VAR) { - if (!DFG_ISSET(use, set_size, j, EX_VAR_TO_NUM(next->result.var))) { - DFG_SET(def, set_size, j, EX_VAR_TO_NUM(next->result.var)); - } - DFG_SET(gen, set_size, j, EX_VAR_TO_NUM(next->result.var)); - } } } }

« previous php.cvs (#90964) next »