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:
Justin Ethier 2016-07-04 22:51:14 -04:00
parent 199b685de3
commit b5ccb51feb

View file

@ -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,