Skip to content

Commit 06bb1fe

Browse files
committed
Added missing side exit
1 parent 4da2beb commit 06bb1fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5533,7 +5533,9 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
55335533
| // retval = Z_INDIRECT_P(retval);
55345534
| GET_Z_PTR r0, r0
55355535
| IF_NOT_Z_TYPE r0, IS_UNDEF, >8
5536-
if (type == BP_VAR_IS && not_found_exit_addr) {
5536+
if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && type == BP_VAR_R) {
5537+
| jmp &exit_addr
5538+
} else if (type == BP_VAR_IS && not_found_exit_addr) {
55375539
| jmp &not_found_exit_addr
55385540
}
55395541
|2:

0 commit comments

Comments
 (0)