From ca5f668f7cfa741cdbf3e7f9daa008e803abc923 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 29 Dec 2022 12:40:46 +0300 Subject: [PATCH] Added missed return --- ext/opcache/jit/zend_jit_trace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index 128522ade4c..7b27f6a209a 100644 --- a/ext/opcache/jit/zend_jit_trace.c +++ b/ext/opcache/jit/zend_jit_trace.c @@ -1146,6 +1146,7 @@ static int is_checked_guard(const zend_ssa *tssa, const zend_op **ssa_opcodes, u } else if (!(tssa->var_info[tssa->ops[idx].op2_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { return 0; } + return 1; } else if (opline->opcode == ZEND_PRE_DEC || opline->opcode == ZEND_PRE_INC || opline->opcode == ZEND_POST_DEC