]> granicus.if.org Git - php/commitdiff
Fixed JIT
authorDmitry Stogov <dmitry@zend.com>
Mon, 15 Jun 2020 12:35:02 +0000 (15:35 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 15 Jun 2020 12:35:02 +0000 (15:35 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index 97d4fbe77ae31603ed1ba94d19312f10cc49f867..1d073a43952a28786fc39ff3bd8ca36fd95ea8af 100644 (file)
@@ -8942,7 +8942,7 @@ static int zend_jit_send_ref(dasm_State **Dst, const zend_op *opline, const zend
                }
                |       EMALLOC sizeof(zend_reference), op_array, opline
                |       mov dword [r0], 2
-               |       mov dword [r0 + offsetof(zend_reference, gc.u.type_info)], IS_REFERENCE
+               |       mov dword [r0 + offsetof(zend_reference, gc.u.type_info)], GC_REFERENCE
                |       mov aword [r0 + offsetof(zend_reference, sources.ptr)], 0
                ref_addr = ZEND_ADDR_MEM_ZVAL(ZREG_R0, 8);
                if (opline->op1_type == IS_VAR) {