summaryrefslogtreecommitdiff
path: root/gcc/ggc.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-22 03:08:47 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-22 03:08:47 +0000
commit7d83df95aa88c7df8a070f34a319ccb9ec2f4ea0 (patch)
treea4fedfbc4cbd08463a6d674fcb9176179935dd4d /gcc/ggc.h
parent1f27494a5017caf54e66631f42c532e20670fca3 (diff)
downloadgcc-7d83df95aa88c7df8a070f34a319ccb9ec2f4ea0.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r--gcc/ggc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h
index 86ae60a7d99..17b8e721c7d 100644
--- a/gcc/ggc.h
+++ b/gcc/ggc.h
@@ -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));