From: Richard Henderson Date: Mon, 17 May 2021 20:50:10 +0000 (-0300) Subject: target/ppc: Use translator_loop_temp_check X-Git-Tag: v6.1.0-rc0~114^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51eb7b1d10f42761e8cf69d4f4be9a709017b73e;p=thirdparty%2Fqemu.git target/ppc: Use translator_loop_temp_check The special logging is unnecessary. It will have been done immediately before in the log file. Signed-off-by: Richard Henderson Signed-off-by: Matheus Ferst Reviewed-by: Bruno Larsen (billionai) Message-Id: <20210517205025.3777947-9-matheus.ferst@eldorado.org.br> Signed-off-by: David Gibson --- diff --git a/target/ppc/translate.c b/target/ppc/translate.c index e68152810e6..ea200f96377 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -9091,11 +9091,7 @@ static void ppc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) handler->count++; #endif - if (tcg_check_temp_count()) { - qemu_log("Opcode %02x %02x %02x %02x (%08x) leaked " - "temporaries\n", opc1(ctx->opcode), opc2(ctx->opcode), - opc3(ctx->opcode), opc4(ctx->opcode), ctx->opcode); - } + translator_loop_temp_check(&ctx->base); } static void ppc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)