summaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authoroldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-21 16:11:59 +0000
committeroldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-21 16:11:59 +0000
commit21b80b12fc02e157af571d5a3e8ab5f59462997c (patch)
tree4a642b8fbfaab6d7d53f3f8917b92e5cbc52db22 /gcc/params.h
parent204c86f0465a65221b82b3a99bc51f5ac7982eee (diff)
downloadgcc-21b80b12fc02e157af571d5a3e8ab5f59462997c.tar.gz
2001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
* 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
Diffstat (limited to 'gcc/params.h')
-rw-r--r--gcc/params.h7
1 files changed, 6 insertions, 1 deletions
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 */