From 21b80b12fc02e157af571d5a3e8ab5f59462997c Mon Sep 17 00:00:00 2001 From: oldham Date: Wed, 21 Feb 2001 16:11:59 +0000 Subject: 2001-02-21 Jeffrey Oldham * Makefile.in (reorg.o): Add params.h dependence. * params.def: Fix typographical error in comment. (MAX_DELAY_SLOT_INSN_SEARCH): New parameter. * params.h: Modify introductory comment. (MAX_DELAY_SLOT_INSN_SEARCH): New parameter. * reorg.c: Add dependence on params.h. (redundant_insn): Add parameterized throttle for search. (fill_simple_delay_slots): Add a comment explaining a variable. Move conditional out of loop, simplifying code. (fill_eager_delay_slots): Fix typographical error in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39948 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/params.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/params.h') diff --git a/gcc/params.h b/gcc/params.h index c097ad1c489..b60d29db349 100644 --- a/gcc/params.h +++ b/gcc/params.h @@ -27,7 +27,10 @@ Boston, MA 02111-1307, USA. place. The values of the parameters can be set on the command-line, thereby providing a way to control the amount of effort spent on particular optimization passes, or otherwise tune - the behavior of the compiler. */ + the behavior of the compiler. + + Since their values can be set on the command-line, these parameters + should not be used for non-dynamic memory allocation. */ #ifndef PARAMS_H #define PARAMS_H @@ -81,5 +84,7 @@ typedef enum compiler_param /* Macros for the various parameters. */ #define MAX_INLINE_INSNS \ PARAM_VALUE (PARAM_MAX_INLINE_INSNS) +#define MAX_DELAY_SLOT_INSN_SEARCH \ + PARAM_VALUE (PARAM_MAX_DELAY_SLOT_INSN_SEARCH) #endif /* PARAMS_H */ -- cgit v1.2.1