mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Fixed incorrect type guard
This commit is contained in:
@@ -11524,7 +11524,7 @@ static zend_bool zend_jit_fetch_reference(dasm_State **Dst, const zend_op *oplin
|
||||
var_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FCARG1a, 0);
|
||||
*var_addr_ptr = var_addr;
|
||||
|
||||
var_type &= ~IS_TRACE_REFERENCE;
|
||||
var_type &= ~(IS_TRACE_REFERENCE|IS_TRACE_INDIRECT);
|
||||
if (add_type_guard
|
||||
&& var_type != IS_UNKNOWN
|
||||
&& (var_info & (MAY_BE_ANY|MAY_BE_UNDEF)) != (1 << var_type)) {
|
||||
|
||||
Reference in New Issue
Block a user