Skip to content

Commit

Permalink
JIT_G(current_frame)->stacj is always true.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Oct 25, 2021
1 parent 3d576db commit cb72f0f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ext/opcache/jit/zend_jit_arm64.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -3473,7 +3473,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
if (set_type &&
(Z_REG(dst) != ZREG_FP ||
!JIT_G(current_frame) ||
!JIT_G(current_frame)->stack ||
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) {
| SET_ZVAL_TYPE_INFO dst, IS_LONG, TMP1w, TMP2
}
Expand All @@ -3482,7 +3481,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
if (set_type &&
(Z_REG(dst) != ZREG_FP ||
!JIT_G(current_frame) ||
!JIT_G(current_frame)->stack ||
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) {
| SET_ZVAL_TYPE_INFO dst, IS_DOUBLE, TMP1w, TMP2
}
Expand Down
2 changes: 0 additions & 2 deletions ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -3824,7 +3824,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
if (set_type &&
(Z_REG(dst) != ZREG_FP ||
!JIT_G(current_frame) ||
!JIT_G(current_frame)->stack ||
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_LONG)) {
| SET_ZVAL_TYPE_INFO dst, IS_LONG
}
Expand All @@ -3833,7 +3832,6 @@ static int zend_jit_spill_store(dasm_State **Dst, zend_jit_addr src, zend_jit_ad
if (set_type &&
(Z_REG(dst) != ZREG_FP ||
!JIT_G(current_frame) ||
!JIT_G(current_frame)->stack ||
STACK_MEM_TYPE(JIT_G(current_frame)->stack, EX_VAR_TO_NUM(Z_OFFSET(dst))) != IS_DOUBLE)) {
| SET_ZVAL_TYPE_INFO dst, IS_DOUBLE
}
Expand Down

0 comments on commit cb72f0f

Please sign in to comment.