mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +02:00
Simplify macro following setjmp, just like closcall
A very minor improvement, but it technically improves performance and does simplify the code.
This commit is contained in:
parent
199b685de3
commit
b5ccb51feb
1 changed files with 1 additions and 1 deletions
|
@ -3443,7 +3443,7 @@ void Cyc_start_trampoline(gc_thread_data * thd)
|
||||||
printf("Done with GC\n");
|
printf("Done with GC\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (type_of(thd->gc_cont) == pair_tag || prim(thd->gc_cont)) {
|
if (type_is_pair_prim(thd->gc_cont)) {
|
||||||
Cyc_apply_from_buf(thd, thd->gc_num_args, thd->gc_cont, thd->gc_args);
|
Cyc_apply_from_buf(thd, thd->gc_num_args, thd->gc_cont, thd->gc_args);
|
||||||
} else {
|
} else {
|
||||||
do_dispatch(thd, thd->gc_num_args, ((closure) (thd->gc_cont))->fn,
|
do_dispatch(thd, thd->gc_num_args, ((closure) (thd->gc_cont))->fn,
|
||||||
|
|
Loading…
Add table
Reference in a new issue