Skip to content

Commit cce0cc8

Browse files
committed
JIT: Fixed incorrect condition (this leaded to
Zend/tests/type_declarations/typed_properties_083.phpt failure without PROFITABILITY_CHECKS)
1 parent 6e2d47e commit cce0cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ static int zend_jit_exception_handler_undef_stub(dasm_State **Dst)
18241824
|->exception_handler_undef:
18251825
| MEM_OP2_2_ZTS mov, r0, aword, executor_globals, opline_before_exception, r0
18261826
| test byte OP:r0->result_type, (IS_TMP_VAR|IS_VAR)
1827-
| jnz >1
1827+
| jz >1
18281828
| mov eax, dword OP:r0->result.var
18291829
| SET_Z_TYPE_INFO FP + r0, IS_UNDEF
18301830
|1:

0 commit comments

Comments
 (0)