]> granicus.if.org Git - php/commitdiff
Let's try to fix the JIT compiler warning
authorMáté Kocsis <kocsismate@woohoolabs.com>
Tue, 26 May 2020 18:56:29 +0000 (20:56 +0200)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Tue, 26 May 2020 18:56:29 +0000 (20:56 +0200)
ext/opcache/jit/zend_jit.c

index 450a037f7721390fca7aa8e7467cfd3cbea0ea15..06b9f4148ee0d4e82844df3aa88402e558bf46dd 100644 (file)
@@ -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;
                                                }