target/m68k: fix TCG variable double free
PATCH 1/1 target/m68k: fix TCG variable double free
t64 is also unconditionally freed after the switch () { ... }
Signed-off-by Laurent Vivier <[email protected]>
--- target/m68k/translate.c | 1 - 1 file changed, 1 deletion(-)
target/m68k/translate.c +0 -1
@@ -969,7 +969,6 @@ static void gen_load_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp)case OS_DOUBLE :tcg_gen_qemu_ld64 (t64, addr, index);gen_helper_extf64 (cpu_env, fp, t64); -tcg_temp_free_i64 (t64);break ;case OS_EXTENDED :if (m68k_feature (s->env,M68K_FEATURE_CF_FPU )) {
Signature · 1 line
2.14.3
Quoted 13 lines · Laurent Vivier
t64 is also unconditionally freed after the switch () { ... }
Signed-off-by Laurent Vivier <[email protected]>--- target/m68k/translate.c | 1 - 1 file changed, 1 deletion(-)target/m68k/translate.c +0
-0
target/m68k/translate.c static void gen_load_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp) · line 974
Quoted 7 lines
target/m68k/translate.c +0
-1@@ -969,7 +969,6 @@ static void gen_load_fp(DisasContext *s, int opsize, TCGv addr, TCGv_ptr fp)case OS_DOUBLE :tcg_gen_qemu_ld64 (t64, addr, index);gen_helper_extf64 (cpu_env, fp, t64); -tcg_temp_free_i64 (t64);break ;case OS_EXTENDED :if (m68k_feature (s->env,M68K_FEATURE_CF_FPU )) {
Reviewed-by Thomas Huth <[email protected]>
Quoted 6 lines · Laurent Vivier
t64 is also unconditionally freed after the switch () { ... }
Signed-off-by Laurent Vivier <[email protected]>--- target/m68k/translate.c | 1 - 1 file changed, 1 deletion(-)
Reviewed-by Richard Henderson <[email protected]>
r~