diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-02-22 03:08:47 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-02-22 03:08:47 +0000 |
commit | 9ac121af2a23ff86838f619ae58a6be7cf16d605 (patch) | |
tree | a4fedfbc4cbd08463a6d674fcb9176179935dd4d /gcc/ggc.h | |
parent | 453ee2313a9f013158f1c5ab8bd97cf495c5c270 (diff) | |
download | gcc-9ac121af2a23ff86838f619ae58a6be7cf16d605.zip gcc-9ac121af2a23ff86838f619ae58a6be7cf16d605.tar.gz gcc-9ac121af2a23ff86838f619ae58a6be7cf16d605.tar.bz2 |
Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
* Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
* doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
documentation.
* ggc-common.c: Include params.h
(ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
init_ggc_heuristics): New functions.
* ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
init_ggc_heuristics): Prototype.
* toplev.c (print_version): Output GGC heuristics.
(parse_options_and_default_flags): Call init_ggc_heuristics.
From-SVN: r63268
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r-- | gcc/ggc.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -262,3 +262,8 @@ extern void ggc_print_common_statistics PARAMS ((FILE *, ggc_statistics *)); /* Print allocation statistics. */ extern void ggc_print_statistics PARAMS ((void)); extern void stringpool_statistics PARAMS ((void)); + +/* Heuristics. */ +extern int ggc_min_expand_heuristic PARAMS ((void)); +extern int ggc_min_heapsize_heuristic PARAMS ((void)); +extern void init_ggc_heuristics PARAMS ((void)); |