From d093438bdcf22b2d4e1738d2d55300745f88dd8d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 24 Dec 2022 21:04:09 -0500 Subject: sim: mips: drop unused ENGINE_ISSUE_POSTFIX_HOOK Nothing defines this, and it isn't called in all the engine runtimes, so drop it entirely to avoid confusion. --- sim/mips/m16run.c | 4 ---- sim/mips/micromipsrun.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'sim') diff --git a/sim/mips/m16run.c b/sim/mips/m16run.c index c8caeb1..ffc1031 100644 --- a/sim/mips/m16run.c +++ b/sim/mips/m16run.c @@ -58,10 +58,6 @@ sim_engine_run (SIM_DESC sd, nia = m32_idecode_issue (sd, instruction_0, cia); } -#if defined (ENGINE_ISSUE_POSTFIX_HOOK) - ENGINE_ISSUE_POSTFIX_HOOK (); -#endif - /* Update the instruction address */ cia = nia; diff --git a/sim/mips/micromipsrun.c b/sim/mips/micromipsrun.c index 86868fa..1c1475e 100644 --- a/sim/mips/micromipsrun.c +++ b/sim/mips/micromipsrun.c @@ -121,10 +121,6 @@ sim_engine_run (SIM_DESC sd, int next_cpu_nr, int nr_cpus, nia = NULL_CIA; } -#if defined (ENGINE_ISSUE_POSTFIX_HOOK) - ENGINE_ISSUE_POSTFIX_HOOK (); -#endif - /* Update the instruction address */ cia = nia; -- cgit v1.1