From 45feacdc389cb50e7cb967abb346ce6ecc09090e Mon Sep 17 00:00:00 2001 From: Weilin Du Date: Sat, 24 Oct 2026 14:45:02 +0800 Subject: [PATCH] jit: Fix upper-bound inference in tracing JIT comparisons --- ext/opcache/jit/zend_jit_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index e2bb21cbbf40..ac942f1952b6 100644 --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -3763,7 +3763,7 @@ static void zend_jit_trace_update_condition_ranges(const zend_op *opline, const zend_jit_trace_set_var_range( &ssa->var_info[ssa_op->op2_use], op2_min, - op2_max != ZEND_LONG_MIN ?MIN(op2_max, op1_max - 1) : op1_max); + op1_max != ZEND_LONG_MIN ? MIN(op2_max, op1_max - 1) : op2_max); } } break;