mirror of
https://github.com/php/php-src.git
synced 2026-03-29 19:52:20 +02:00
Merge branch 'PHP-8.0'
* PHP-8.0: JIT: Fixed incorrect condition (this leaded to Zend/tests/type_declarations/typed_properties_083.phpt failure without PROFITABILITY_CHECKS)
This commit is contained in:
@@ -1839,7 +1839,7 @@ static int zend_jit_exception_handler_undef_stub(dasm_State **Dst)
|
||||
| MEM_LOAD_ZTS ldr, REG0, executor_globals, opline_before_exception, REG0
|
||||
| ldrb TMP1w, OP:REG0->result_type
|
||||
| TST_32_WITH_CONST TMP1w, (IS_TMP_VAR|IS_VAR), TMP2w
|
||||
| bne >1
|
||||
| be >1
|
||||
| ldr REG0w, OP:REG0->result.var
|
||||
| add REG0, REG0, FP
|
||||
| SET_Z_TYPE_INFO REG0, IS_UNDEF, TMP1w
|
||||
|
||||
@@ -1802,7 +1802,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:
|
||||
|
||||
Reference in New Issue
Block a user