mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
Use new calling convention
This commit is contained in:
parent
fd35f2e53e
commit
e9ebfb8dcb
1 changed files with 2 additions and 1 deletions
3
gc.c
3
gc.c
|
@ -2918,7 +2918,8 @@ void gc_mutator_thread_runnable(gc_thread_data * thd, object result, object mayb
|
||||||
thd->gc_args[0] = result;
|
thd->gc_args[0] = result;
|
||||||
Cyc_apply_from_buf(thd, 1, thd->gc_cont, thd->gc_args);
|
Cyc_apply_from_buf(thd, 1, thd->gc_cont, thd->gc_args);
|
||||||
} else {
|
} else {
|
||||||
(((closure) (thd->gc_cont))->fn) (thd, 1, thd->gc_cont, result);
|
object buf[1] = {result};
|
||||||
|
(((closure) (thd->gc_cont))->fn) (thd, thd->gc_cont, 1, buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue