From cce0cc883685a05375deaeac3676d4f8966d61ad Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 21 May 2021 00:01:00 +0300 Subject: [PATCH] JIT: Fixed incorrect condition (this leaded to Zend/tests/type_declarations/typed_properties_083.phpt failure without PROFITABILITY_CHECKS) --- ext/opcache/jit/zend_jit_x86.dasc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 1d54e0d794b..ee02439dee0 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -1824,7 +1824,7 @@ static int zend_jit_exception_handler_undef_stub(dasm_State **Dst) |->exception_handler_undef: | MEM_OP2_2_ZTS mov, r0, aword, executor_globals, opline_before_exception, r0 | test byte OP:r0->result_type, (IS_TMP_VAR|IS_VAR) - | jnz >1 + | jz >1 | mov eax, dword OP:r0->result.var | SET_Z_TYPE_INFO FP + r0, IS_UNDEF |1: