]> gcc.gnu.org Git - gcc.git/commit
Turn 'bool force_collect' parameter to 'ggc_collect' into an 'enum ggc_collect mode'
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 17 Aug 2021 19:15:46 +0000 (21:15 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 18 Aug 2021 11:25:29 +0000 (13:25 +0200)
commit602fca427df6c5f7452677cfcdd16a5b9a3ca86a
treea6de70912168e67f7281933cbd1ad8c050039fc9
parent76bb3c50dd43a5f87d4f949cf0d0979144562e6c
Turn 'bool force_collect' parameter to 'ggc_collect' into an 'enum ggc_collect mode'

... to make the meaning more explicit to the reader of the code.

Follow-up to recent commit 0edf2e81bb02cba43b649b3f6e7258b68a779ac0
"Turn global 'ggc_force_collect' variable into 'force_collect' parameter to
'ggc_collect'".

gcc/
* ggc.h (enum ggc_collect): New.
(ggc_collect): Use it.
* ggc-page.c: Adjust.
* ggc-common.c: Likewise.
* ggc-tests.c: Likewise.
* read-rtl-function.c: Likewise.
* selftest-run-tests.c: Likewise.
* doc/gty.texi (Invoking the garbage collector): Likewise.

Suggested-by: David Malcolm <dmalcolm@redhat.com>
gcc/doc/gty.texi
gcc/ggc-common.c
gcc/ggc-page.c
gcc/ggc-tests.c
gcc/ggc.h
gcc/read-rtl-function.c
gcc/selftest-run-tests.c
This page took 0.059361 seconds and 5 git commands to generate.