com php-src: One more place: ext/opcache/Optimizer/pass3.c

From: Date: Wed, 09 Oct 2019 23:21:37 +0000
Subject: com php-src: One more place: ext/opcache/Optimizer/pass3.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108845@lists.php.net to get a copy of this message
Commit: d9964efe23b8d81fa017549ae55e084d0fee401a Author: Dmitry Stogov <dmitry@zend.com> Thu, 10 Oct 2019 02:21:37 +0300 Parents: bf5d299ef4b96237bca0196be95deda5912e24f1 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d9964efe23b8d81fa017549ae55e084d0fee401a Log: One more place Changed paths: M ext/opcache/Optimizer/pass3.c Diff: diff --git a/ext/opcache/Optimizer/pass3.c b/ext/opcache/Optimizer/pass3.c index 5de29089bd3..128d9f48c87 100644 --- a/ext/opcache/Optimizer/pass3.c +++ b/ext/opcache/Optimizer/pass3.c @@ -291,7 +291,7 @@ void zend_optimizer_pass3(zend_op_array *op_array, zend_optimizer_ctx *ctx) target = ZEND_OP1_JMP_ADDR(target); CHECK_LOOP(target); ZEND_SET_OP_JMP_ADDR(opline, opline->op2, target); - } else if (target->opcode == ZEND_JMP) { + } else if (target->opcode == ZEND_NOP) { target = target + 1; ZEND_SET_OP_JMP_ADDR(opline, opline->op2, target); } else {

« previous php.cvs (#108845) next »