aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-24 21:04:09 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-24 21:37:59 -0500
commitd093438bdcf22b2d4e1738d2d55300745f88dd8d (patch)
tree01b052cd789d01f785da83d5affe9af165b60012 /sim
parent3bef0f032c7744a097774ad32d927c018c06ef92 (diff)
downloadfsf-binutils-gdb-d093438bdcf22b2d4e1738d2d55300745f88dd8d.zip
fsf-binutils-gdb-d093438bdcf22b2d4e1738d2d55300745f88dd8d.tar.gz
fsf-binutils-gdb-d093438bdcf22b2d4e1738d2d55300745f88dd8d.tar.bz2
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.
Diffstat (limited to 'sim')
-rw-r--r--sim/mips/m16run.c4
-rw-r--r--sim/mips/micromipsrun.c4
2 files changed, 0 insertions, 8 deletions
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;