]> granicus.if.org Git - gc/commit
Fix cords for MANUAL_VDB
authorIvan Maidanski <ivmai@mail.ru>
Wed, 23 May 2018 08:43:04 +0000 (11:43 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 17 Jul 2018 20:33:15 +0000 (23:33 +0300)
commit7687a823835e95792dce1cd3fc5b25c234485d74
treed685bcac3ac149c4019556f3f1fe7ab10ba6101a
parent7ef78a36917558d26d6efecf04d14d4ffc28d950
Fix cords for MANUAL_VDB
(a cherry-pick of commit c72eeacc from 'release-7_6')

* cord/cordbscs.c (CORD_cat_char_star, CORD CORD_cat,
CORD_from_fn_inner, CORD_substr_closure): Call GC_END_STUBBORN_CHANGE.
* cord/cordxtra.c (refill_cache): Likewise.
* cord/tests/de.c (prune_map, add_map, add_hist, replace_line,
generic_init): Likewise.
* cord/cordbscs.c (CORD_cat_char_star, CORD_cat): Mark x and y as
reachable after GC_END_STUBBORN_CHANGE(result).
* cord/cordbscs.c (CORD_from_fn_inner): Mark client_data as reachable
after GC_END_STUBBORN_CHANGE(result).
* cord/cordbscs.c (CORD_substr_closure): Mark x as reachable after
GC_END_STUBBORN_CHANGE(sa).
* cord/tests/de.c (prune_map): Mark saved map->previous->previous as
reachable after GC_END_STUBBORN_CHANGE(map).
* cord/tests/de.c (add_map): Mark saved current_map as reachable after
GC_END_STUBBORN_CHANGE(new_map).
* cord/tests/de.c (replace_line): Mark s as reachable after
GC_END_STUBBORN_CHANGE(screen+i).
cord/cordbscs.c
cord/cordxtra.c
cord/tests/de.c