Skip to content

Commit 29fc684

Browse files
committed
Fixed incorrect side exit address
1 parent 51dfba3 commit 29fc684

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
@@ -4538,7 +4538,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
45384538
zend_jit_addr res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FP, opline->result.var);
45394539
const void *exit_addr = NULL;
45404540

4541-
if (zend_jit_trigger == ZEND_JIT_ON_HOT_TRACE && type == BP_VAR_R) {
4541+
if (zend_jit_trigger == ZEND_JIT_ON_HOT_TRACE && (type == BP_VAR_R || type == BP_VAR_RW)) {
45424542
int32_t exit_point = zend_jit_trace_get_exit_point(opline, opline, NULL);
45434543
exit_addr = zend_jit_trace_get_exit_addr(exit_point);
45444544
if (!exit_addr) {

0 commit comments

Comments
 (0)