@@ -4823,7 +4823,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
4823
4823
zend_jit_addr res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var);
4824
4824
4825
4825
if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE
4826
- && ( type == BP_VAR_R || type == BP_VAR_RW)
4826
+ && type == BP_VAR_R
4827
4827
&& !exit_addr) {
4828
4828
int32_t exit_point = zend_jit_trace_get_exit_point(opline, opline, NULL, ZEND_JIT_EXIT_TO_VM);
4829
4829
exit_addr = zend_jit_trace_get_exit_addr(exit_point);
@@ -4865,7 +4865,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
4865
4865
} else {
4866
4866
| jbe >9 // NOT_FOUND
4867
4867
}
4868
- } else if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && ( type == BP_VAR_R || type == BP_VAR_RW) ) {
4868
+ } else if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && type == BP_VAR_R) {
4869
4869
| jbe &exit_addr
4870
4870
} else if (type == BP_VAR_IS && not_found_exit_addr) {
4871
4871
| jbe ¬_found_exit_addr
@@ -4904,7 +4904,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
4904
4904
} else {
4905
4905
| jbe >9 // NOT_FOUND
4906
4906
}
4907
- } else if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && ( type == BP_VAR_R || type == BP_VAR_RW) ) {
4907
+ } else if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && type == BP_VAR_R) {
4908
4908
| jbe &exit_addr
4909
4909
} else if (type == BP_VAR_IS && not_found_exit_addr) {
4910
4910
| jbe ¬_found_exit_addr
@@ -5009,16 +5009,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
5009
5009
break;
5010
5010
case BP_VAR_RW:
5011
5011
|2:
5012
- if (JIT_G(trigger) != ZEND_JIT_ON_HOT_TRACE) {
5013
- | SAVE_VALID_OPLINE opline, r0
5014
- | // zend_error(E_NOTICE,"Undefined arary offset " ZEND_LONG_FMT, hval);
5015
- | //retval = zend_hash_index_update(ht, hval, &EG(uninitialized_zval));
5016
- | EXT_CALL zend_jit_fetch_dimension_rw_long_helper, r0
5017
- }
5018
5012
if (op1_info & MAY_BE_ARRAY_KEY_LONG) {
5019
- if (JIT_G(trigger) != ZEND_JIT_ON_HOT_TRACE) {
5020
- | jmp >8
5021
- }
5022
5013
|4:
5023
5014
| SAVE_VALID_OPLINE opline, r0
5024
5015
| EXT_CALL zend_jit_hash_index_lookup_rw, r0
0 commit comments