From 4f3a7f4b5bd39c24b79b665acc6e6b2266e35cfe Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 6 Nov 2015 22:32:45 -0500 Subject: [PATCH] Missed these --- include/cyclone/runtime-main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cyclone/runtime-main.h b/include/cyclone/runtime-main.h index 15be2636..43193da3 100644 --- a/include/cyclone/runtime-main.h +++ b/include/cyclone/runtime-main.h @@ -61,9 +61,9 @@ static void Cyc_main (stack_size,heap_size,stack_base) // JAE - note for the general case, setjmp will return the data pointer's addy if (type_of(Cyc_mutators[0]->gc_cont) == cons_tag || prim(Cyc_mutators[0]->gc_cont)) { - Cyc_apply_from_buf(Cyc_mutators[0], Cyc_mutators[0]->gc_num_ans, Cyc_mutators[0]->gc_cont, Cyc_mutators[0]->gc_args); + Cyc_apply_from_buf(Cyc_mutators[0], Cyc_mutators[0]->gc_num_args, Cyc_mutators[0]->gc_cont, Cyc_mutators[0]->gc_args); } else { - do_dispatch(Cyc_mutators[0], Cyc_mutators[0]->gc_num_ans, ((closure)(Cyc_mutators[0]->gc_cont))->fn, Cyc_mutators[0]->gc_cont, Cyc_mutators[0]->gc_args); + do_dispatch(Cyc_mutators[0], Cyc_mutators[0]->gc_num_args, ((closure)(Cyc_mutators[0]->gc_cont))->fn, Cyc_mutators[0]->gc_cont, Cyc_mutators[0]->gc_args); } printf("Internal error: should never have reached this line\n"); exit(0);}}