aboutsummaryrefslogtreecommitdiff
path: root/type.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-03-31 02:38:14 -0700
committerMichael Forney <mforney@mforney.org>2021-03-31 02:55:26 -0700
commit5ff1d2fa7f389f68846407667c489fe791113d37 (patch)
treec32b0e9ea555fef0f1f6b60d1b32d8dc00121431 /type.c
parent4c2a04dde22d2f2d8b53bb981e5aa1845070e1fd (diff)
qbe: Use second argument of call/arg to store type name
Diffstat (limited to 'type.c')
-rw-r--r--type.c1
1 files changed, 1 insertions, 0 deletions
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;