@@ -16665,9 +16665,9 @@ static void jit_frameless_icall1(zend_jit_ctx *jit, const zend_op *opline, uint3
16665
16665
zend_jit_addr op1_addr = OP1_ADDR();
16666
16666
ir_ref res_ref = jit_ZVAL_ADDR(jit, res_addr);
16667
16667
ir_ref op1_ref = jit_ZVAL_ADDR(jit, op1_addr);
16668
+ jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
16668
16669
zend_jit_zval_check_undef(jit, op1_ref, opline->op1.var, opline, 1);
16669
16670
op1_ref = jit_ZVAL_DEREF_ref(jit, op1_ref);
16670
- jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
16671
16671
ir_CALL_2(IR_VOID, ir_CONST_ADDR((size_t)function), res_ref, op1_ref);
16672
16672
jit_FREE_OP(jit, opline->op1_type, opline->op1, op1_info, NULL);
16673
16673
zend_jit_check_exception(jit);
@@ -16684,11 +16684,11 @@ static void jit_frameless_icall2(zend_jit_ctx *jit, const zend_op *opline, uint3
16684
16684
ir_ref res_ref = jit_ZVAL_ADDR(jit, res_addr);
16685
16685
ir_ref op1_ref = jit_ZVAL_ADDR(jit, op1_addr);
16686
16686
ir_ref op2_ref = jit_ZVAL_ADDR(jit, op2_addr);
16687
+ jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
16687
16688
zend_jit_zval_check_undef(jit, op1_ref, opline->op1.var, opline, 1);
16688
16689
zend_jit_zval_check_undef(jit, op2_ref, opline->op2.var, opline, 1);
16689
16690
op1_ref = jit_ZVAL_DEREF_ref(jit, op1_ref);
16690
16691
op2_ref = jit_ZVAL_DEREF_ref(jit, op2_ref);
16691
- jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
16692
16692
ir_CALL_3(IR_VOID, ir_CONST_ADDR((size_t)function), res_ref, op1_ref, op2_ref);
16693
16693
jit_FREE_OP(jit, opline->op1_type, opline->op1, op1_info, NULL);
16694
16694
jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL);
@@ -16708,13 +16708,13 @@ static void jit_frameless_icall3(zend_jit_ctx *jit, const zend_op *opline, uint3
16708
16708
ir_ref op1_ref = jit_ZVAL_ADDR(jit, op1_addr);
16709
16709
ir_ref op2_ref = jit_ZVAL_ADDR(jit, op2_addr);
16710
16710
ir_ref op3_ref = jit_ZVAL_ADDR(jit, op3_addr);
16711
+ jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
16711
16712
zend_jit_zval_check_undef(jit, op1_ref, opline->op1.var, opline, 1);
16712
16713
zend_jit_zval_check_undef(jit, op2_ref, opline->op2.var, opline, 1);
16713
16714
zend_jit_zval_check_undef(jit, op3_ref, (opline+1)->op1.var, opline, 1);
16714
16715
op1_ref = jit_ZVAL_DEREF_ref(jit, op1_ref);
16715
16716
op2_ref = jit_ZVAL_DEREF_ref(jit, op2_ref);
16716
16717
op3_ref = jit_ZVAL_DEREF_ref(jit, op3_ref);
16717
- jit_set_Z_TYPE_INFO(jit, res_addr, IS_NULL);
16718
16718
ir_CALL_4(IR_VOID, ir_CONST_ADDR((size_t)function), res_ref, op1_ref, op2_ref, op3_ref);
16719
16719
jit_FREE_OP(jit, opline->op1_type, opline->op1, op1_info, NULL);
16720
16720
jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, NULL);
0 commit comments