com php-src: Fixed reference-counting propagation: ext/opcache/ jit/zend_jit_trace.c

From: Date: Wed, 11 Nov 2020 11:54:00 +0000
Subject: com php-src: Fixed reference-counting propagation: ext/opcache/ jit/zend_jit_trace.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114130@lists.php.net to get a copy of this message
Commit: a0de82ad752920ab46fc909621e96c7cca8c19da Author: Dmitry Stogov <dmitry@zend.com> Wed, 11 Nov 2020 14:54:00 +0300 Parents: 800cf5a20f09baf243c0b7205f827a46bd4904f0 Branches: PHP-8.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a0de82ad752920ab46fc909621e96c7cca8c19da Log: Fixed reference-counting propagation Changed paths: M ext/opcache/jit/zend_jit_trace.c Diff: diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index c13ba1d4854..85f09d3275d 100644 --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -1751,6 +1751,9 @@ propagate_arg: } } } + if (opline->op1_type == IS_CV && (info & MAY_BE_RC1)) { + info |= MAY_BE_RCN; + } if (info & MAY_BE_UNDEF) { info |= MAY_BE_NULL; info &= ~MAY_BE_UNDEF;

« previous php.cvs (#114130) next »