summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/struct.c b/struct.c
index 5e8c7647..653311d3 100644
--- a/struct.c
+++ b/struct.c
@@ -856,6 +856,8 @@ static val make_struct_impl(val self, val type,
uw_catch_end;
+ gc_hint(type);
+
return sinst;
}
@@ -947,6 +949,8 @@ val make_lazy_struct(val type, val argfun)
bug_unless (type == st->self);
+ gc_hint(type);
+
si->slot[0] = argfun;
return sinst;