@@ -7697,19 +7697,19 @@ static int zend_jit_cmp(dasm_State **Dst,
7697
7697
(op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))));
7698
7698
7699
7699
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)) {
7701
7701
if (op1_info & MAY_BE_DOUBLE) {
7702
7702
| IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >4
7703
7703
} else {
7704
7704
| IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9
7705
7705
}
7706
7706
}
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))) {
7708
7708
if (op2_info & MAY_BE_DOUBLE) {
7709
7709
| IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >3
7710
7710
|.cold_code
7711
7711
|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))) {
7713
7713
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9
7714
7714
}
7715
7715
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,
7727
7727
if (op1_info & MAY_BE_DOUBLE) {
7728
7728
|.cold_code
7729
7729
|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))) {
7731
7731
| IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9
7732
7732
}
7733
7733
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))) {
7735
7735
if (!same_ops) {
7736
7736
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >5
7737
7737
} else {
@@ -7745,7 +7745,7 @@ static int zend_jit_cmp(dasm_State **Dst,
7745
7745
}
7746
7746
if (!same_ops) {
7747
7747
|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))) {
7749
7749
| IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9
7750
7750
}
7751
7751
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,
7758
7758
} else if ((op1_info & MAY_BE_DOUBLE) &&
7759
7759
!(op1_info & MAY_BE_LONG) &&
7760
7760
(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)) {
7762
7762
| IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9
7763
7763
}
7764
7764
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))) {
7766
7766
if (!same_ops && (op2_info & MAY_BE_LONG)) {
7767
7767
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >3
7768
7768
} else {
@@ -7778,7 +7778,7 @@ static int zend_jit_cmp(dasm_State **Dst,
7778
7778
|.cold_code
7779
7779
}
7780
7780
|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))) {
7782
7782
| IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9
7783
7783
}
7784
7784
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,
7792
7792
} else if ((op2_info & MAY_BE_DOUBLE) &&
7793
7793
!(op2_info & MAY_BE_LONG) &&
7794
7794
(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)) {
7796
7796
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9
7797
7797
}
7798
7798
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))) {
7800
7800
if (!same_ops && (op1_info & MAY_BE_LONG)) {
7801
7801
| IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >3
7802
7802
} else {
@@ -7812,7 +7812,7 @@ static int zend_jit_cmp(dasm_State **Dst,
7812
7812
|.cold_code
7813
7813
}
7814
7814
|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))) {
7816
7816
| IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9
7817
7817
}
7818
7818
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