[php-src] master: Remove useless masking

From: Date: Thu, 22 Apr 2021 20:49:23 +0000
Subject: [php-src] master: Remove useless masking
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115769@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-22T23:49:02+03:00 Commit: https://github.com/php/php-src/commit/8c420bd265546088ffc76751d66b43532a959184 Raw diff: https://github.com/php/php-src/commit/8c420bd265546088ffc76751d66b43532a959184.diff Remove useless masking Changed paths: M ext/opcache/jit/zend_jit_x86.dasc Diff: diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 912e70cd6403..c027fb63773b 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -13688,7 +13688,7 @@ static int zend_jit_assign_obj_op(dasm_State **Dst, | cmp r2, aword [FCARG1a + offsetof(zend_object, ce)] | jne >7 if (!ce || ce_is_instanceof || (ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) { - | cmp aword [r0 + ((opline+1)->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) * 2], 0 + | cmp aword [r0 + (opline+1)->extended_value + sizeof(void*) * 2], 0 | jnz >7 } | mov r0, aword [r0 + (opline+1)->extended_value + sizeof(void*)] @@ -14020,7 +14020,7 @@ static int zend_jit_assign_obj(dasm_State **Dst, | cmp r2, aword [FCARG1a + offsetof(zend_object, ce)] | jne >5 if (!ce || ce_is_instanceof || (ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS)) { - | mov FCARG2a, aword [r0 + (opline->extended_value & ~ZEND_FETCH_OBJ_FLAGS) + sizeof(void*) * 2] + | mov FCARG2a, aword [r0 + opline->extended_value + sizeof(void*) * 2] } | mov r0, aword [r0 + opline->extended_value + sizeof(void*)] | test r0, r0

« previous php.cvs (#115769) next »