summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--rv64/emit.c4
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;