aboutsummaryrefslogtreecommitdiff
path: root/target/hexagon/idef-parser/parser-helpers.c
diff options
context:
space:
mode:
authorAnton Johansson <anjo@rev.ng>2023-03-06 19:25:56 -0800
committerTaylor Simpson <tsimpson@quicinc.com>2023-03-06 20:47:12 -0800
commitbbb71568de91561b57b3622d364aa004436b722f (patch)
treed5877ae436e0801a1a5324bb3b34280772c9c262 /target/hexagon/idef-parser/parser-helpers.c
parent877a3d20cd5de5b53856151a3835b43fa155b96f (diff)
downloadqemu-bbb71568de91561b57b3622d364aa004436b722f.zip
qemu-bbb71568de91561b57b3622d364aa004436b722f.tar.gz
qemu-bbb71568de91561b57b3622d364aa004436b722f.tar.bz2
target/hexagon/idef-parser: Remove unused code paths
Removes code paths used by COF instructions, which are no longer processed by idef-parser. Tested-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Taylor Simpson <tsimpson@quicinc.com> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Signed-off-by: Anton Johansson <anjo@rev.ng> Message-Id: <20230131223133.8592-1-anjo@rev.ng>
Diffstat (limited to 'target/hexagon/idef-parser/parser-helpers.c')
-rw-r--r--target/hexagon/idef-parser/parser-helpers.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/hexagon/idef-parser/parser-helpers.c b/target/hexagon/idef-parser/parser-helpers.c
index 7b494c2..cc2cd00 100644
--- a/target/hexagon/idef-parser/parser-helpers.c
+++ b/target/hexagon/idef-parser/parser-helpers.c
@@ -185,9 +185,6 @@ void imm_print(Context *c, YYLTYPE *locp, HexImm *imm)
case IMM_PC:
EMIT(c, "ctx->base.pc_next");
break;
- case IMM_NPC:
- EMIT(c, "ctx->npc");
- break;
case IMM_CONSTEXT:
EMIT(c, "insn->extension_valid");
break;