Skip to content

Commit b4ae5a2

Browse files
committed
Move assert() to right place
1 parent 6d8d08f commit b4ae5a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7666,7 +7666,6 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z
76667666
| SET_ZVAL_TYPE_INFO res_addr, eax
76677667
}
76687668
} else {
7669-
ZEND_ASSERT(true_label != (uint32_t)-1 || false_label != (uint32_t)-1);
76707669
if (exit_addr) {
76717670
if (branch_opcode == ZEND_JMPNZ || branch_opcode == ZEND_JMPNZ_EX) {
76727671
| jp >1
@@ -7677,6 +7676,7 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z
76777676
| je &exit_addr
76787677
}
76797678
} else {
7679+
ZEND_ASSERT(true_label != (uint32_t)-1 || false_label != (uint32_t)-1);
76807680
if (false_label != (uint32_t)-1) {
76817681
| jp =>false_label
76827682
} else {

0 commit comments

Comments
 (0)