Skip to content

Commit

Permalink
Fixed incorrect condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Aug 12, 2021
1 parent 02b5660 commit c39332d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_arm64.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -5088,7 +5088,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
if (packed_loaded) {
| IF_NOT_Z_TYPE REG0, IS_UNDEF, >8, TMP1w
}
if (!(op1_info & (MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_HASH)) || packed_loaded) {
if (!(op1_info & MAY_BE_ARRAY_KEY_LONG) || (op1_info & MAY_BE_ARRAY_HASH) || packed_loaded) {
|2:
|4:
if (!op2_loaded) {
Expand Down
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -5556,7 +5556,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
if (packed_loaded) {
| IF_NOT_Z_TYPE r0, IS_UNDEF, >8
}
if (!(op1_info & (MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_HASH)) || packed_loaded) {
if (!(op1_info & MAY_BE_ARRAY_KEY_LONG) || (op1_info & MAY_BE_ARRAY_HASH) || packed_loaded) {
|2:
|4:
if (!op2_loaded) {
Expand Down

0 comments on commit c39332d

Please sign in to comment.