Skip to content

Commit

Permalink
JIT: Fixed incorrect condition (this leaded to
Browse files Browse the repository at this point in the history
Zend/tests/type_declarations/typed_properties_083.phpt failure without
PROFITABILITY_CHECKS)
  • Loading branch information
dstogov committed May 20, 2021
1 parent 6e2d47e commit cce0cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cce0cc8

Please sign in to comment.