From e1063c4e19a87aa94ef4ce858fa92655572e0f4d Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Sat, 7 Nov 2015 02:57:55 -0500 Subject: [PATCH] Added TODO --- include/cyclone/runtime-main.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/cyclone/runtime-main.h b/include/cyclone/runtime-main.h index da0c5b86..5bd1d7ed 100644 --- a/include/cyclone/runtime-main.h +++ b/include/cyclone/runtime-main.h @@ -33,6 +33,9 @@ static void Cyc_heap_init(long heap_size) Cyc_num_mutators = 1; // TODO: alloca this using a vpbuffer, or maybe another type of data structure } +TODO: relocate this to a runtime function (that accepts gc_thread_data and does the setjmp/dispatch, and +to cgen (to setup a new gc_thread_data and call to the new function) + static void Cyc_main (long stack_size, char *stack_base) { mclosure0(clos_halt,&Cyc_halt); // Halt if final closure is reached