diff --git a/TODO b/TODO index 09cb47b0..684d9b00 100644 --- a/TODO +++ b/TODO @@ -13,7 +13,10 @@ Working TODO list: return_check0(__lambda_3); } -3) __glo_lib1_91hello has a bad tag. it looks like GC might be overwriting it. WTF????? +3) Above is no good, the functions cannot return, or any vars allocated on the stack will be corrupted! + + + - Reduction in size of generated code is there anything we can do? diff --git a/examples/hello-library/int-test/hello.c b/examples/hello-library/int-test/hello.c index 91af2833..ab5791ee 100644 --- a/examples/hello-library/int-test/hello.c +++ b/examples/hello-library/int-test/hello.c @@ -135,6 +135,7 @@ static void __lambda_0(int argc, closure _,object r_733) { static void c_entry_pt(argc, env,cont) int argc; closure env,cont; { +// TODO: these can't return, they need to call into each other as a continuation chain c_schemebase_entry_pt(argc, env,cont); c_libslib1_entry_pt(argc, env, cont); c_libslib2_entry_pt(argc, env, cont);