diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-08-31 15:14:06 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-09-01 19:09:15 +0200 |
commit | 0715a395dfb50d890043df718959cd9229de226f (patch) | |
tree | 7d41e580df463c52fbbdf0b37f99062137bb237f | |
parent | fb76791b97c3ba8878d5db47bb77d440f8a1ef75 (diff) | |
download | roux-0715a395dfb50d890043df718959cd9229de226f.tar.gz |
capitalize a label
-rw-r--r-- | rv64/emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rv64/emit.c b/rv64/emit.c index f976ade..1fdc4b2 100644 --- 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; |