@@ -7697,19 +7697,19 @@ static int zend_jit_cmp(dasm_State **Dst,
76977697 (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))));
76987698
76997699 if ((op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG)) {
7700- if (op1_info & (MAY_BE_ANY-MAY_BE_LONG)) {
7700+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_LONG)) {
77017701 if (op1_info & MAY_BE_DOUBLE) {
77027702 | IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >4
77037703 } else {
77047704 | IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9
77057705 }
77067706 }
7707- if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_LONG))) {
7707+ if (!same_ops && (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_LONG))) {
77087708 if (op2_info & MAY_BE_DOUBLE) {
77097709 | IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >3
77107710 |.cold_code
77117711 |3:
7712- if (op2_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7712+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_LONG|MAY_BE_DOUBLE))) {
77137713 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9
77147714 }
77157715 if (!zend_jit_cmp_long_double(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
@@ -7727,11 +7727,11 @@ static int zend_jit_cmp(dasm_State **Dst,
77277727 if (op1_info & MAY_BE_DOUBLE) {
77287728 |.cold_code
77297729 |4:
7730- if (op1_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7730+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_LONG|MAY_BE_DOUBLE))) {
77317731 | IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9
77327732 }
77337733 if (op2_info & MAY_BE_DOUBLE) {
7734- if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) {
7734+ if (!same_ops && (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE))) {
77357735 if (!same_ops) {
77367736 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >5
77377737 } else {
@@ -7745,7 +7745,7 @@ static int zend_jit_cmp(dasm_State **Dst,
77457745 }
77467746 if (!same_ops) {
77477747 |5:
7748- if (op2_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7748+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_LONG|MAY_BE_DOUBLE))) {
77497749 | IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9
77507750 }
77517751 if (!zend_jit_cmp_double_long(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
@@ -7758,11 +7758,11 @@ static int zend_jit_cmp(dasm_State **Dst,
77587758 } else if ((op1_info & MAY_BE_DOUBLE) &&
77597759 !(op1_info & MAY_BE_LONG) &&
77607760 (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) {
7761- if (op1_info & (MAY_BE_ANY-MAY_BE_DOUBLE)) {
7761+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE)) {
77627762 | IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9
77637763 }
77647764 if (op2_info & MAY_BE_DOUBLE) {
7765- if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) {
7765+ if (!same_ops && (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE))) {
77667766 if (!same_ops && (op2_info & MAY_BE_LONG)) {
77677767 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >3
77687768 } else {
@@ -7778,7 +7778,7 @@ static int zend_jit_cmp(dasm_State **Dst,
77787778 |.cold_code
77797779 }
77807780 |3:
7781- if (op2_info & (MAY_BE_ANY-(MAY_BE_DOUBLE|MAY_BE_LONG))) {
7781+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_DOUBLE|MAY_BE_LONG))) {
77827782 | IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9
77837783 }
77847784 if (!zend_jit_cmp_double_long(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
@@ -7792,11 +7792,11 @@ static int zend_jit_cmp(dasm_State **Dst,
77927792 } else if ((op2_info & MAY_BE_DOUBLE) &&
77937793 !(op2_info & MAY_BE_LONG) &&
77947794 (op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) {
7795- if (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE)) {
7795+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE)) {
77967796 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9
77977797 }
77987798 if (op1_info & MAY_BE_DOUBLE) {
7799- if (!same_ops && (op1_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) {
7799+ if (!same_ops && (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE))) {
78007800 if (!same_ops && (op1_info & MAY_BE_LONG)) {
78017801 | IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >3
78027802 } else {
@@ -7812,7 +7812,7 @@ static int zend_jit_cmp(dasm_State **Dst,
78127812 |.cold_code
78137813 }
78147814 |3:
7815- if (op1_info & (MAY_BE_ANY-(MAY_BE_DOUBLE|MAY_BE_LONG))) {
7815+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_DOUBLE|MAY_BE_LONG))) {
78167816 | IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9
78177817 }
78187818 if (!zend_jit_cmp_long_double(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
0 commit comments