Skip to content

Commit

Permalink
Fix verify arg jit for references
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jun 24, 2020
1 parent 26badd5 commit d071ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -10512,7 +10512,7 @@ static int zend_jit_verify_arg_type(dasm_State **Dst, const zend_op *opline, zen

if (ZEND_ARG_SEND_MODE(arg_info)) {
if (opline->opcode == ZEND_RECV_INIT) {
| GET_ZVAL_PTR Ra(tmp_reg), res_addr
| LOAD_ZVAL_ADDR Ra(tmp_reg), res_addr
| ZVAL_DEREF Ra(tmp_reg), MAY_BE_REF
res_addr = ZEND_ADDR_MEM_ZVAL(tmp_reg, 0);
} else {
Expand Down

0 comments on commit d071ab1

Please sign in to comment.