Before this patch, when PPC_DUMP_CPU is set, oname is added to opc_handler_t, but GEN_OPCODE* wouldn't set it unless DO_PPC_STATISTICS was set as well.
This patch changes it so those changes would happen when PPC_DUMP_CPU is set, but not statistics, because the latter is being removed. Signed-off-by: Bruno Larsen (billionai) <bruno.lar...@eldorado.org.br> --- target/ppc/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/ppc/translate.c b/target/ppc/translate.c index ea200f9637..6c0f424d81 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -1345,7 +1345,7 @@ typedef struct opcode_t { /*****************************************************************************/ /* PowerPC instructions table */ -#if defined(DO_PPC_STATISTICS) +#if defined(PPC_DUMP_CPU) #define GEN_OPCODE(name, op1, op2, op3, invl, _typ, _typ2) \ { \ .opc1 = op1, \ -- 2.17.1