Fix missing GC_dirty invocation from debug_end_stubborn_change
authorIvan Maidanski <ivmai@mail.ru>
Tue, 8 May 2018 18:04:55 +0000 (21:04 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 8 May 2018 18:09:54 +0000 (21:09 +0300)
commit228bb2776633790c562fa7f2d31c60978331036a
tree9a63d139b6bdddf79494888f45596321a9569c06
parent9e6d6fdaa212f46fd6dc3b6e99a3ff0d99065a93
Fix missing GC_dirty invocation from debug_end_stubborn_change

GC_debug_end_stubborn_change was no-op unless STUBBORN_ALLOC defined.

* dbg_mlc.c (GC_debug_end_stubborn_change): De-duplicate definition;
remove hhdr local variable.
* dbg_mlc.c [!STUBBORN_ALLOC] (GC_debug_end_stubborn_change): Check
p belongs to GC heap; call GC_end_stubborn_change(GC_base(p)).
dbg_mlc.c