From ef230f8dc0c6e0d7e00c18e78cb46a6a00bc32a9 Mon Sep 17 00:00:00 2001 From: dzaima Date: Fri, 15 Oct 2021 12:08:48 +0300 Subject: [PATCH] remove static from function that isn't --- src/opt/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opt/gc.c b/src/opt/gc.c index 4ba2e861..a348c3a7 100644 --- a/src/opt/gc.c +++ b/src/opt/gc.c @@ -51,7 +51,7 @@ static void gc_resetTag(Value* x) { x->mmInfo&= 0x7F; } -static void gc_visitRoots() { +void gc_visitRoots() { for (u32 i = 0; i < gc_rootSz; i++) gc_roots[i](); for (u32 i = 0; i < gc_rootObjSz; i++) mm_visit(gc_rootObjs[i]); }