Skip to content

Commit

Permalink
Apply fix for ARM JIT as well
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Sep 14, 2021
1 parent 781e6b4 commit 2558887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/opcache/jit/zend_jit_arm64.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -9138,7 +9138,8 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
}
}

if (!trace && op_array == &func->op_array) {
if (!trace && op_array == &func->op_array
&& num_args >= op_array->required_num_args) {
/* recursive call */
if (ZEND_OBSERVER_ENABLED) {
| SAVE_IP
Expand Down

0 comments on commit 2558887

Please sign in to comment.