klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

commit 4603438d9197a2f4b2cfcc7785ac271721a58c67
parent f844337f9fb93f72b8b40de1c2633b3643eb457c
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Fri, 29 Apr 2011 14:13:40 -0300

Added gc tracking of new comb pointers in continuations.

Diffstat:
Msrc/kgc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/kgc.c b/src/kgc.c @@ -271,6 +271,7 @@ static int32_t propagatemark (klisp_State *K) { Continuation *c = cast(Continuation *, o); markvalue(K, c->mark); markvalue(K, c->parent); + markvalue(K, c->comb); markvaluearray(K, c->extra, c->extra_size); return sizeof(Continuation) + sizeof(TValue) * c->extra_size; }