qbe

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

commit 0715a395dfb50d890043df718959cd9229de226f
parent fb76791b97c3ba8878d5db47bb77d440f8a1ef75
Author: Quentin Carbonneaux <quentin@c9x.me>
Date:   Wed, 31 Aug 2022 15:14:06 +0200

capitalize a label

Diffstat:
Mrv64/emit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rv64/emit.c b/rv64/emit.c @@ -361,14 +361,14 @@ emitins(Ins *i, Fn *fn, FILE *f) case RCon: con = &fn->con[i->arg[0].val]; if (con->type != CAddr || con->bits.i) - goto invalid; + goto Invalid; fprintf(f, "\tcall %s\n", str(con->label)); break; case RTmp: emitf("jalr %0", i, fn, f); break; default: - invalid: + Invalid: die("invalid call argument"); } break;