Browse Source

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.
users/ahajkova/try-frob
Mike Frysinger 4 years ago
parent
commit
d093438bdc
  1. 4
      sim/mips/m16run.c
  2. 4
      sim/mips/micromipsrun.c

4
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;

4
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;

Loading…
Cancel
Save