Skip to content

Commit b963575

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: JIT: Disable recursive call optimization for VM without global register variables
2 parents 096d49f + 2d8ce2f commit b963575

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
@@ -9866,7 +9866,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
98669866
}
98679867
}
98689868

9869-
if (!trace && op_array == &func->op_array
9869+
if (GCC_GLOBAL_REGS && !trace && op_array == &func->op_array
98709870
&& num_args >= op_array->required_num_args) {
98719871
/* recursive call */
98729872
if (ZEND_OBSERVER_ENABLED) {

0 commit comments

Comments
 (0)