From 5ff1d2fa7f389f68846407667c489fe791113d37 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 31 Mar 2021 02:38:14 -0700 Subject: qbe: Use second argument of call/arg to store type name --- type.c | 1 + 1 file changed, 1 insertion(+) (limited to 'type.c') diff --git a/type.c b/type.c index 87f8094..1c6888f 100644 --- a/type.c +++ b/type.c @@ -60,6 +60,7 @@ mktype(enum typekind kind, enum typeprop prop) t = xmalloc(sizeof(*t)); t->kind = kind; t->prop = prop; + t->value = NULL; t->incomplete = 0; return t; -- cgit v1.2.3