1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00

JMP optimization

This commit is contained in:
Dmitry Stogov
2020-07-17 11:07:22 +03:00
parent e0af92c16e
commit 6b2c4be48a
+3 -1
View File
@@ -7649,7 +7649,9 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z
if (!jmp_done) {
if (exit_addr) {
if (branch_opcode == ZEND_JMPNZ || branch_opcode == ZEND_JMPNZ_EX) {
| jmp >9
if (op1_info & MAY_BE_LONG) {
| jmp >9
}
} else if (op1_info & MAY_BE_LONG) {
| jmp &exit_addr
}