From: Máté Kocsis Date: Tue, 26 May 2020 18:56:29 +0000 (+0200) Subject: Let's try to fix the JIT compiler warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0de3ca4f98cd79f747f92cd9fab2a72e85b3cd1f;p=php Let's try to fix the JIT compiler warning --- diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index 450a037f77..06b9f4148e 100644 --- a/ext/opcache/jit/zend_jit.c +++ b/ext/opcache/jit/zend_jit.c @@ -2375,7 +2375,7 @@ static int zend_jit(const zend_op_array *op_array, zend_ssa *ssa, const zend_op if (!zend_jit_assign_op(&dasm_state, opline, op_array, op1_info, op1_def_info, OP1_RANGE(), op2_info, OP2_RANGE(), - (op1_info & MAY_BE_LONG) && (op2_info && MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may_overflow(opline, op_array, ssa), + (op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may_overflow(opline, op_array, ssa), zend_may_throw(opline, ssa_op, op_array, ssa))) { goto jit_failure; }