diff options
author | Michael Forney <mforney@mforney.org> | 2021-03-28 18:37:43 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-03-31 02:55:26 -0700 |
commit | 4c2a04dde22d2f2d8b53bb981e5aa1845070e1fd (patch) | |
tree | f9fe6726afa7f8ee29d35cb58574955cce09d508 /stmt.c | |
parent | 207e3e4e683ed1c825db317fc07071e83d890932 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |