[PATCH v2 73/76] include/exec/gen-icount: Drop tcg_temp_free in gen_tb_start

Richard Henderson posted 76 patches 2 years, 2 months ago
[PATCH v2 73/76] include/exec/gen-icount: Drop tcg_temp_free in gen_tb_start
Posted by Richard Henderson 2 years, 2 months ago
Translators are no longer required to free tcg temporaries.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 include/exec/gen-icount.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h
index 733a2fb228..bbeb85832e 100644
--- a/include/exec/gen-icount.h
+++ b/include/exec/gen-icount.h
@@ -62,8 +62,6 @@ static inline void gen_tb_start(const TranslationBlock *tb)
                        offsetof(ArchCPU, parent_obj.can_do_io) -
                        offsetof(ArchCPU, env));
     }
-
-    tcg_temp_free_i32(count);
 }
 
 static inline void gen_tb_end(const TranslationBlock *tb, int num_insns)
-- 
2.34.1
Re: [PATCH v2 73/76] include/exec/gen-icount: Drop tcg_temp_free in gen_tb_start
Posted by Peter Maydell 2 years, 2 months ago
On Mon, 27 Feb 2023 at 05:36, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Translators are no longer required to free tcg temporaries.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM