[php-src] PHP-8.4: JIT: Fix upper-bound inference in tracing JIT comparisons (#24633)

From: Date: Sat, 24 Oct 2026 09:15:31 +0000
Subject: [php-src] PHP-8.4: JIT: Fix upper-bound inference in tracing JIT comparisons (#24633)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142662@lists.php.net to get a copy of this message
Author: Weilin Du (LamentXU123) Committer: GitHub (web-flow) Pusher: LamentXU123 Date: 2026-10-24T17:15:28+08:00 Commit: https://github.com/php/php-src/commit/56ad5c4071ace9d316a9178771db70d100ed4180 Raw diff: https://github.com/php/php-src/commit/56ad5c4071ace9d316a9178771db70d100ed4180.diff JIT: Fix upper-bound inference in tracing JIT comparisons (#24633) Changed paths: M ext/opcache/jit/zend_jit_trace.c Diff: 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;

« previous php.cvs (#142662) next »