Skip to content

Commit d071ab1

Browse files
committed
Fix verify arg jit for references
1 parent 26badd5 commit d071ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10512,7 +10512,7 @@ static int zend_jit_verify_arg_type(dasm_State **Dst, const zend_op *opline, zen
1051210512

1051310513
if (ZEND_ARG_SEND_MODE(arg_info)) {
1051410514
if (opline->opcode == ZEND_RECV_INIT) {
10515-
| GET_ZVAL_PTR Ra(tmp_reg), res_addr
10515+
| LOAD_ZVAL_ADDR Ra(tmp_reg), res_addr
1051610516
| ZVAL_DEREF Ra(tmp_reg), MAY_BE_REF
1051710517
res_addr = ZEND_ADDR_MEM_ZVAL(tmp_reg, 0);
1051810518
} else {

0 commit comments

Comments
 (0)