[PATCH/committed] sim: common: delete unused argbuf in generated mloop code
Mike Frysinger
vapier@gentoo.org
Tue Dec 19 11:55:34 GMT 2023
This function only uses prev_abuf, not abuf, and doesn't inline code
from the various ports on the fly, so abuf will never be used.
---
sim/common/genmloop.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/sim/common/genmloop.sh b/sim/common/genmloop.sh
index 4312dc5468f6..e6683def4637 100755
--- a/sim/common/genmloop.sh
+++ b/sim/common/genmloop.sh
@@ -1138,8 +1138,6 @@ void
void
@prefix@_pbb_after (SIM_CPU *current_cpu, SCACHE *sc)
{
- SEM_ARG sem_arg = sc;
- const ARGBUF *abuf = SEM_ARGBUF (sem_arg);
const SEM_ARG prev_sem_arg = sc - 1;
const ARGBUF *prev_abuf = SEM_ARGBUF (prev_sem_arg);
--
2.43.0
More information about the Gdb-patches
mailing list