1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

JIT: Fix missing register store

Fixes master_COMMUNITY_asan "nightly" failure introduced by 13d5c812e0
This commit is contained in:
Dmitry Stogov
2024-05-21 14:09:30 +03:00
parent dabafc7b8e
commit 896517e24f

View File

@@ -14094,6 +14094,10 @@ static int zend_jit_fetch_obj(zend_jit_ctx *jit,
// ZVAL_COPY
jit_ZVAL_COPY(jit, res_addr, -1, val_addr, res_info, !result_avoid_refcounting);
if (!zend_jit_store_var_if_necessary(jit, opline->result.var, res_addr, res_info)) {
return 0;
}
} else {
ir_MERGE_list(end_inputs);
}