@@ -11412,6 +11412,13 @@ static int zend_jit_return(dasm_State **Dst, const zend_op *opline, const zend_o
11412
11412
return_value_used = -1;
11413
11413
}
11414
11414
11415
+ if (ZEND_OBSERVER_ENABLED) {
11416
+ | LOAD_ZVAL_ADDR FCARG2a, op1_addr
11417
+ | mov FCARG1a, FP
11418
+ | SET_EX_OPLINE opline, r0
11419
+ | EXT_CALL zend_observer_fcall_end, r0
11420
+ }
11421
+
11415
11422
// if (!EX(return_value))
11416
11423
if (Z_MODE(op1_addr) == IS_REG && Z_REG(op1_addr) == ZREG_R1) {
11417
11424
if (return_value_used != 0) {
@@ -11478,12 +11485,6 @@ static int zend_jit_return(dasm_State **Dst, const zend_op *opline, const zend_o
11478
11485
11479
11486
if (return_value_used == 0) {
11480
11487
|9:
11481
- if (ZEND_OBSERVER_ENABLED) {
11482
- | xor FCARG2a, FCARG2a
11483
- | mov FCARG1a, FP
11484
- | SET_EX_OPLINE opline, r0
11485
- | EXT_CALL zend_observer_fcall_end, r0
11486
- }
11487
11488
return 1;
11488
11489
}
11489
11490
@@ -11552,12 +11553,6 @@ static int zend_jit_return(dasm_State **Dst, const zend_op *opline, const zend_o
11552
11553
}
11553
11554
11554
11555
|9:
11555
- if (ZEND_OBSERVER_ENABLED) {
11556
- | LOAD_ZVAL_ADDR FCARG2a, ret_addr
11557
- | mov FCARG1a, FP
11558
- | SET_EX_OPLINE opline, r0
11559
- | EXT_CALL zend_observer_fcall_end, r0
11560
- }
11561
11556
return 1;
11562
11557
}
11563
11558
0 commit comments