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>
Fri, 18 Nov 2016 06:18:39 +0000 (22:18 -0800)
commit65fcd6afa22bfefb61420e668c16632657eb8b4f
treefa8d7e1cf054403373c915d44a025d6843d30597
parent72e16314541a25257dd1cf072b732ded2911e00f
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