Skip to content

Commit

Permalink
JIT: Fixed extension handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Oct 8, 2021
1 parent 45b127a commit b279de4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -13263,6 +13263,9 @@ static int zend_jit_fetch_obj(dasm_State **Dst,

if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE
&& prop_info
&& (opline->opcode != ZEND_FETCH_OBJ_W ||
!(opline->extended_value & ZEND_FETCH_OBJ_FLAGS) ||
!ZEND_TYPE_IS_SET(prop_info->type))
&& opline->op1_type != IS_VAR
&& opline->op1_type != IS_TMP_VAR) {
may_throw = 0;
Expand Down

0 comments on commit b279de4

Please sign in to comment.