qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 60feaba8c59e82c278e6cd20be08b1e61b8c1460
parent ce26f8625d984499af3d17aa8501bb13770e0933
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Tue, 12 Apr 2016 12:37:11 -0400

frendlier error message in emit

Diffstat:
Memit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)