aboutsummaryrefslogtreecommitdiff
path: root/stmt.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-03-28 18:37:43 -0700
committerMichael Forney <mforney@mforney.org>2021-03-31 02:55:26 -0700
commit4c2a04dde22d2f2d8b53bb981e5aa1845070e1fd (patch)
treef9fe6726afa7f8ee29d35cb58574955cce09d508 /stmt.c
parent207e3e4e683ed1c825db317fc07071e83d890932 (diff)
qbe: Use separate type for block/label
Labels are no longer used as instruction arguments.
Diffstat (limited to 'stmt.c')
-rw-r--r--stmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stmt.c b/stmt.c
index 78798cf..256ddd0 100644
--- a/stmt.c
+++ b/stmt.c
@@ -31,7 +31,8 @@ stmt(struct func *f, struct scope *s)
char *name;
struct expr *e;
struct type *t;
- struct value *v, *label[4];
+ struct value *v;
+ struct block *label[4];
struct switchcases swtch = {0};
uint64_t i;