diff options
-rw-r--r-- | emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emit.c b/emit.c index 3822da4..5f9f604 100644 --- a/emit.c +++ b/emit.c @@ -351,7 +351,7 @@ emitins(Ins i, Fn *fn, FILE *f) /* this linear search should really be a binary * search */ if (omap[o].op == NOp) - die("no match for %d(%d)", i.op, i.cls); + die("no match for %s(%d)", opdesc[i.op].name, i.cls); if (omap[o].op == i.op) if (omap[o].cls == i.cls || (omap[o].cls == Ki && KBASE(i.cls) == 0) |