summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-24 10:47:14 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-24 10:47:37 +0200
commitd071ab19283f525212884eb8e838c2109abc2f09 (patch)
tree40bdc959d4138c2c5beb3adbbfd81e4913735eaf
parent26badd58b5fd8951548ef6cebc3a9c72546640a5 (diff)
downloadphp-git-d071ab19283f525212884eb8e838c2109abc2f09.tar.gz
Fix verify arg jit for references
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index 32c08cd40d..5cbe71ea69 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -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 {