From e9ebfb8dcbe0fbed2c12d57a95f87d707f823795 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Sun, 21 Feb 2021 21:40:39 -0500 Subject: [PATCH] Use new calling convention --- gc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 9aeb2931..b9531aca 100644 --- a/gc.c +++ b/gc.c @@ -2918,7 +2918,8 @@ void gc_mutator_thread_runnable(gc_thread_data * thd, object result, object mayb thd->gc_args[0] = result; Cyc_apply_from_buf(thd, 1, thd->gc_cont, thd->gc_args); } else { - (((closure) (thd->gc_cont))->fn) (thd, 1, thd->gc_cont, result); + object buf[1] = {result}; + (((closure) (thd->gc_cont))->fn) (thd, thd->gc_cont, 1, buf); } } }