Skip to content

Commit b41bd91

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: JIT: Disable recursive call optimization for VM without global register variables (ARM64 part)
2 parents 1040f30 + 6d04d16 commit b41bd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_arm64.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9229,7 +9229,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
92299229
}
92309230
}
92319231

9232-
if (!trace && op_array == &func->op_array
9232+
if (GCC_GLOBAL_REGS && !trace && op_array == &func->op_array
92339233
&& num_args >= op_array->required_num_args) {
92349234
/* recursive call */
92359235
if (ZEND_OBSERVER_ENABLED) {

0 commit comments

Comments
 (0)