altos/lisp: Change GC move API
authorKeith Packard <keithp@keithp.com>
Sat, 5 Nov 2016 21:51:58 +0000 (14:51 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:50 +0000 (11:16 -0800)
commit3366efb139653939f053c1fe4aba352ba3b66c94
tree57c01798cfaef078e4e8ca11680a9bb748ed3334
parent6fc1ee0f7adc6fcb3e850bcbaabc1db705314234
altos/lisp: Change GC move API

Pass reference to move API so it can change the values in-place, then
let it return '1' when the underlying object has already been moved to
shorten GC times.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lisp/ao_lisp.h
src/lisp/ao_lisp_atom.c
src/lisp/ao_lisp_builtin.c
src/lisp/ao_lisp_cons.c
src/lisp/ao_lisp_const.lisp
src/lisp/ao_lisp_eval.c
src/lisp/ao_lisp_frame.c
src/lisp/ao_lisp_make_const.c
src/lisp/ao_lisp_mem.c
src/lisp/ao_lisp_prim.c