mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 12:35:05 +02:00
Added TODO
This commit is contained in:
parent
fb6f2038ac
commit
8d451954cd
1 changed files with 1 additions and 0 deletions
|
@ -1564,6 +1564,7 @@ static void __lambda_6(void *data, int argc, object self_73218, object r_73143)
|
||||||
static void __host_lambda_1(void *data, int argc, closure self){
|
static void __host_lambda_1(void *data, int argc, closure self){
|
||||||
while(1) {
|
while(1) {
|
||||||
object *stack = ((gc_thread_data *)data)->args; // TODO: do it inline for benchmarks/production code
|
object *stack = ((gc_thread_data *)data)->args; // TODO: do it inline for benchmarks/production code
|
||||||
|
TODO: is this syntax correct below? double-check in GDB
|
||||||
object top = alloca(sizeof(object)); // TODO: is there a more efficient way?
|
object top = alloca(sizeof(object)); // TODO: is there a more efficient way?
|
||||||
if (stack_overflow(top, (((gc_thread_data *)data)->stack_limit))) {
|
if (stack_overflow(top, (((gc_thread_data *)data)->stack_limit))) {
|
||||||
//printf("starting GC\n");
|
//printf("starting GC\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue