From b4ae5a20b61c37c54b7d0396ede4f62d17f3f7d4 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 9 Jul 2020 15:56:24 +0300 Subject: [PATCH] Move assert() to right place --- ext/opcache/jit/zend_jit_x86.dasc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 7ba23e3d10..cfd3b0f4cb 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -7666,7 +7666,6 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z | SET_ZVAL_TYPE_INFO res_addr, eax } } else { - ZEND_ASSERT(true_label != (uint32_t)-1 || false_label != (uint32_t)-1); if (exit_addr) { if (branch_opcode == ZEND_JMPNZ || branch_opcode == ZEND_JMPNZ_EX) { | jp >1 @@ -7677,6 +7676,7 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z | je &exit_addr } } else { + ZEND_ASSERT(true_label != (uint32_t)-1 || false_label != (uint32_t)-1); if (false_label != (uint32_t)-1) { | jp =>false_label } else { -- 2.50.1