From 61367525aea8f3f11c29e628fe49768dda959cef Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 19 Jun 2023 22:33:35 +0200 Subject: backend: compile comparison instrs and branches --- irdump.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'irdump.c') diff --git a/irdump.c b/irdump.c index 5ea7d48..cd7468f 100644 --- a/irdump.c +++ b/irdump.c @@ -151,12 +151,6 @@ dumpcall(struct call *call) } } -static const char *opname[] = { - "?\??", -#define _(o,...) #o, -#include "op.def" -#undef _ -}; static const uchar opnarg[] = { 0, #define _(o,n) n, @@ -180,7 +174,7 @@ dumpinst(const struct instr *ins) efmt("%s %%%d", clsname[ins->cls], ins - instrtab); efmt(" = "); } - efmt("%s ", opname[ins->op]); + efmt("%s ", opnames[ins->op]); } for (i = 0; i < opnarg[ins->op]; ++i) { if (i) efmt(", "); -- cgit v1.2.3