Skip to content

Commit 896517e

Browse files
committed
JIT: Fix missing register store
Fixes master_COMMUNITY_asan "nightly" failure introduced by 13d5c81
1 parent dabafc7 commit 896517e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14094,6 +14094,10 @@ static int zend_jit_fetch_obj(zend_jit_ctx *jit,
1409414094

1409514095
// ZVAL_COPY
1409614096
jit_ZVAL_COPY(jit, res_addr, -1, val_addr, res_info, !result_avoid_refcounting);
14097+
14098+
if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) {
14099+
return 0;
14100+
}
1409714101
} else {
1409814102
ir_MERGE_list(end_inputs);
1409914103
}

0 commit comments

Comments
 (0)