diff options
| author | 2023-06-19 22:33:35 +0200 | |
|---|---|---|
| committer | 2023-06-19 22:33:35 +0200 | |
| commit | 61367525aea8f3f11c29e628fe49768dda959cef (patch) | |
| tree | 7f3f428b40086c20ebc2e7aa54f49b4394b6e820 /irdump.c | |
| parent | 88bf0602d09bebbf18213fbf02821e9f63b964a8 (diff) | |
backend: compile comparison instrs and branches
Diffstat (limited to 'irdump.c')
| -rw-r--r-- | irdump.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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(", "); |