]> granicus.if.org Git - gc/commit
Remove page_was_dirty and remove_protection duplicate definitions
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Dec 2016 23:41:54 +0000 (02:41 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 8 Dec 2016 23:41:54 +0000 (02:41 +0300)
commitbe8ba30a0c0f4c962655a7741d8d53a2fd6cbae8
tree37ace038bedd5fa0b895184de4e7f8b3b59ccab1
parent4338bb085a471f3cf7fbe53c564082a200d3aa3c
Remove page_was_dirty and remove_protection duplicate definitions

* include/private/gc_priv.h [!GC_DISABLE_INCREMENTAL]
(GC_page_was_dirty): Refine comment (move the comment
content from GC_page_was_dirty in os_dep.c).
* os_dep.c [GWW_VDB && MPROTECT_VDB] (GC_gww_page_was_dirty): Remove.
* os_dep.c [GWW_VDB || MPROTECT_VDB || PROC_VDB || MANUAL_VDB]
(GC_page_was_dirty): Avoid code duplication (remove the functions of
the identical implementation).
* os_dep.c [(GWW_VDB || PROC_VDB) && !MPROTECT_VDB || MANUAL_VDB
|| DEFAULT_VDB] (GC_remove_protection): Likewise.
* os_dep.c [CHECKSUMS && GWW_VDB || PROC_VDB] (GC_or_pages): Remove
nesting of #if.
include/private/gc_priv.h
os_dep.c