@@ -3569,7 +3569,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
3569
3569
goto jit_failure ;
3570
3570
}
3571
3571
if ((p + 1 )-> op == ZEND_JIT_TRACE_INIT_CALL ) {
3572
- if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func )) {
3572
+ if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func , opline + 1 )) {
3573
3573
goto jit_failure ;
3574
3574
}
3575
3575
}
@@ -3581,7 +3581,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
3581
3581
if ((opline -> op1_type != IS_CONST
3582
3582
|| opline -> op2_type != IS_CONST )
3583
3583
&& (p + 1 )-> op == ZEND_JIT_TRACE_INIT_CALL ) {
3584
- if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func )) {
3584
+ if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func , opline + 1 )) {
3585
3585
goto jit_failure ;
3586
3586
}
3587
3587
}
@@ -3592,7 +3592,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
3592
3592
}
3593
3593
if (opline -> op2_type != IS_CONST
3594
3594
&& (p + 1 )-> op == ZEND_JIT_TRACE_INIT_CALL ) {
3595
- if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func )) {
3595
+ if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func , opline + 1 )) {
3596
3596
goto jit_failure ;
3597
3597
}
3598
3598
}
@@ -3603,7 +3603,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
3603
3603
}
3604
3604
if (opline -> op1_type != IS_CONST
3605
3605
&& (p + 1 )-> op == ZEND_JIT_TRACE_INIT_CALL ) {
3606
- if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func )) {
3606
+ if (!zend_jit_init_fcall_guard (& dasm_state , opline , (p + 1 )-> func , opline + 1 )) {
3607
3607
goto jit_failure ;
3608
3608
}
3609
3609
}
@@ -3952,7 +3952,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
3952
3952
call_info = call_info -> next_callee ;
3953
3953
}
3954
3954
}
3955
- if (!skip_guard && !zend_jit_init_fcall_guard (& dasm_state , NULL , p -> func )) {
3955
+ if (!skip_guard && !zend_jit_init_fcall_guard (& dasm_state , NULL , p -> func , (( zend_jit_trace_start_rec * ) trace_buffer ) -> opline )) {
3956
3956
goto jit_failure ;
3957
3957
}
3958
3958
frame -> call_level ++ ;
0 commit comments