]> 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>
Mon, 6 Feb 2017 17:38:41 +0000 (20:38 +0300)
commit39e76b741b805d20f8da8cdc63b2f2312a0ecbba
tree3328c6731acf75fd1d78a0d27c6310983f65197d
parent32c7ef6a352810e40665c9688bac2bf0a9d73025
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