core: Fixes for garbage collector/jam scraper.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 21 Apr 2018 11:31:12 +0000 (13:31 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 21 Apr 2018 11:31:12 +0000 (13:31 +0200)
commit833fe991cbea2b0f64020b43408d5d30dd85f16f
tree0d1dfb480b877ebff01e38de37b6886717979c30
parent0be441446e8aab385c1c6371f63d8b87751ecde3
core: Fixes for garbage collector/jam scraper.

* src/gc.c (gc_loop): Do not relocate car of TCLOSURE, TCONTINUATION.
  Check for TBROKEN_HEART.
* src/mes.c (make_closure_): Set car to 0.
  (check_apply): Check for TBROKEN_HEART.  Fixes reporting artificial
  out-of-memory error.
  (eval_apply): Likewise.
* src/vector.c (vector_entry): Only copy TCHAR and TNUMBER.
src/gc.c
src/mes.c
src/vector.c