com php-src: Fixed incorrect JIT compilation: ext/opcache/jit/z end_jit_x86.dasc

From: Date: Tue, 26 Nov 2019 13:45:19 +0000
Subject: com php-src: Fixed incorrect JIT compilation: ext/opcache/jit/z end_jit_x86.dasc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109320@lists.php.net to get a copy of this message
Commit: b046a8f7f8e1e68b217021fa3179f4a62788e818 Author: Dmitry Stogov <dmitry@zend.com> Tue, 26 Nov 2019 16:45:19 +0300 Parents: 182f98a194e69ecdf4d5d590fd94abfe73c26b5a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b046a8f7f8e1e68b217021fa3179f4a62788e818 Log: Fixed incorrect JIT compilation Changed paths: M ext/opcache/jit/zend_jit_x86.dasc Diff: diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 568dab3f017..be066f1700d 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -894,7 +894,7 @@ static void* dasm_labels[zend_lb_MAX]; || } || } || if (Z_MODE(dst_addr) == IS_MEM_ZVAL) { -|| if (((dst_info & MAY_BE_ANY) != (1<<Z_TYPE_P(zv))) || (dst_info & (MAY_BE_STRING|MAY_BE_ARRAY)) != 0) { +|| if (((dst_info & (MAY_BE_ANY|MAY_BE_UNDEF)) != (1<<Z_TYPE_P(zv))) || (dst_info & (MAY_BE_STRING|MAY_BE_ARRAY)) != 0) { | SET_ZVAL_TYPE_INFO dst_addr, Z_TYPE_INFO_P(zv) || } || } @@ -968,7 +968,7 @@ static void* dasm_labels[zend_lb_MAX]; || } || } || if (Z_MODE(dst_addr) == IS_MEM_ZVAL) { -|| if (((dst_info & MAY_BE_ANY) != (1<<Z_TYPE_P(zv))) || (dst_info & (MAY_BE_STRING|MAY_BE_ARRAY)) != 0) { +|| if (((dst_info & (MAY_BE_ANY|MAY_BE_UNDEF)) != (1<<Z_TYPE_P(zv))) || (dst_info & (MAY_BE_STRING|MAY_BE_ARRAY)) != 0) { | SET_ZVAL_TYPE_INFO dst_addr, Z_TYPE_INFO_P(zv) || } || }

« previous php.cvs (#109320) next »