Skip to content

Commit 6b2c4be

Browse files
committed
JMP optimization
1 parent e0af92c commit 6b2c4be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7649,7 +7649,9 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z
76497649
if (!jmp_done) {
76507650
if (exit_addr) {
76517651
if (branch_opcode == ZEND_JMPNZ || branch_opcode == ZEND_JMPNZ_EX) {
7652-
| jmp >9
7652+
if (op1_info & MAY_BE_LONG) {
7653+
| jmp >9
7654+
}
76537655
} else if (op1_info & MAY_BE_LONG) {
76547656
| jmp &exit_addr
76557657
}

0 commit comments

Comments
 (0)