From 076a9316e02a40dbe3f03df701935343b1bcd4ce Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 16 Oct 2015 22:44:42 -0400 Subject: [PATCH] Added notes --- runtime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime.c b/runtime.c index 88ed51a0..d31c16c0 100644 --- a/runtime.c +++ b/runtime.c @@ -2417,6 +2417,7 @@ void GC(cont, args, num_args) closure cont; object *args; int num_args; int i; int moveBufLen = 128, mbIdx = 0; void **moved = alloca(sizeof(void *) * moveBufLen); + int scani = 0, alloci = 0; // TODO: not quite sure how to do this yet, want to user pointers but realloc can move them... need to think about how this will work // Prevent overrunning buffer if (num_ans > NUM_GC_ANS) {