altos/lisp: Simplify GC a bit by only marking the head of each object
authorKeith Packard <keithp@keithp.com>
Tue, 15 Nov 2016 03:55:36 +0000 (19:55 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:50 +0000 (11:16 -0800)
commitce549b2c11e6b2571590021e1c0503d8a6e7a702
tree69e7889ef58138bb877895a216fe61f2787db0ac
parentddb4b8d90478ae324aa207a7541352c1ac9451ee
altos/lisp: Simplify GC a bit by only marking the head of each object

We don't need to mark the whole object now as we're getting
information about where objects are by walking the tree each time
around the loop; ao_lisp_busy is only useful for terminating the walk
now.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lisp/ao_lisp.h
src/lisp/ao_lisp_mem.c