Skip to content

Commit cb72f0f

Browse files
committed
JIT_G(current_frame)->stacj is always true.
1 parent 3d576db commit cb72f0f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

ext/opcache/jit/zend_jit_arm64.dasc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3473,7 +3473,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
34733473
if (set_type &&
34743474
(Z_REG(dst) != ZREG_FP ||
34753475
!JIT_G(current_frame) ||
3476-
!JIT_G(current_frame)->stack ||
34773476
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) {
34783477
| SET_ZVAL_TYPE_INFO dst, IS_LONG, TMP1w, TMP2
34793478
}
@@ -3482,7 +3481,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
34823481
if (set_type &&
34833482
(Z_REG(dst) != ZREG_FP ||
34843483
!JIT_G(current_frame) ||
3485-
!JIT_G(current_frame)->stack ||
34863484
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) {
34873485
| SET_ZVAL_TYPE_INFO dst, IS_DOUBLE, TMP1w, TMP2
34883486
}

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3824,7 +3824,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
38243824
if (set_type &&
38253825
(Z_REG(dst) != ZREG_FP ||
38263826
!JIT_G(current_frame) ||
3827-
!JIT_G(current_frame)->stack ||
38283827
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) {
38293828
| SET_ZVAL_TYPE_INFO dst, IS_LONG
38303829
}
@@ -3833,7 +3832,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
38333832
if (set_type &&
38343833
(Z_REG(dst) != ZREG_FP ||
38353834
!JIT_G(current_frame) ||
3836-
!JIT_G(current_frame)->stack ||
38373835
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) {
38383836
| SET_ZVAL_TYPE_INFO dst, IS_DOUBLE
38393837
}

0 commit comments

Comments
 (0)