[php-src] PR #13610: [WIP] Fix JIT QM_ASSIGN optimized out when op1 is null and res_use_info is unknown

From: Date: Wed, 06 Mar 2024 20:12:49 +0000
Subject: [php-src] PR #13610: [WIP] Fix JIT QM_ASSIGN optimized out when op1 is null and res_use_info is unknown
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25280@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13610 Author: arnaud-lb ZVAL_COPY_CONST avoids updating Z_TYPE_P(dst_addr) when it's known to have the right value already, based on dst_info. However, when emitting code for ZEND_QM_ASSIGN, dst_info defaults to MAY_BE_NULL. As a result, ZEND_QM_ASSIGN null may be a no-op when it shouldn't. In this change I default to MAY_BE_UNDEF instead. This fixes #13508, but I need to dig more.

« previous php.git-pulls (#25280) next »