diff options
| author | Quentin Carbonneaux <[email protected]> | 2016-04-12 12:37:11 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2016-04-12 12:37:11 -0400 |
| commit | 60feaba8c59e82c278e6cd20be08b1e61b8c1460 (patch) | |
| tree | a72a584923d35a6d4550b9d43f200a10f096edb1 /emit.c | |
| parent | ce26f8625d984499af3d17aa8501bb13770e0933 (diff) | |
frendlier error message in emit
Diffstat (limited to 'emit.c')
| -rw-r--r-- | emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
