Re: [PATCH 13/27] accel/tcg/plugin: Tidy plugin_gen_disable_mem_helpers

2023-01-30 Thread Philippe Mathieu-Daudé
On 30/1/23 21:59, Richard Henderson wrote: Here we are creating a temp whose value needs to be replaced, but always storing NULL into CPUState.plugin_mem_cbs. Use tcg_constant_ptr(0) explicitly. Signed-off-by: Richard Henderson --- accel/tcg/plugin-gen.c | 9 +++-- 1 file changed, 3

[PATCH 13/27] accel/tcg/plugin: Tidy plugin_gen_disable_mem_helpers

2023-01-30 Thread Richard Henderson
Here we are creating a temp whose value needs to be replaced, but always storing NULL into CPUState.plugin_mem_cbs. Use tcg_constant_ptr(0) explicitly. Signed-off-by: Richard Henderson --- accel/tcg/plugin-gen.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git