Skip to content

Commit 8c420bd

Browse files
committed
Remove useless masking
1 parent 30a082c commit 8c420bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13688,7 +13688,7 @@ static int zend_jit_assign_obj_op(dasm_State **Dst,
1368813688
| cmp r2, aword [FCARG1a + offsetof(zend_object, ce)]
1368913689
| jne >7
1369013690
if (!ce || ce_is_instanceof || (ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) {
13691-
| cmp aword [r0 + ((opline+1)->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) * 2], 0
13691+
| cmp aword [r0 + (opline+1)->extended_value + sizeof(void*) * 2], 0
1369213692
| jnz >7
1369313693
}
1369413694
| mov r0, aword [r0 + (opline+1)->extended_value + sizeof(void*)]
@@ -14020,7 +14020,7 @@ static int zend_jit_assign_obj(dasm_State **Dst,
1402014020
| cmp r2, aword [FCARG1a + offsetof(zend_object, ce)]
1402114021
| jne >5
1402214022
if (!ce || ce_is_instanceof || (ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) {
14023-
| mov FCARG2a, aword [r0 + (opline->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) * 2]
14023+
| mov FCARG2a, aword [r0 + opline->extended_value + sizeof(void*) * 2]
1402414024
}
1402514025
| mov r0, aword [r0 + opline->extended_value + sizeof(void*)]
1402614026
| test r0, r0

0 commit comments

Comments
 (0)