aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.h
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@caip.rutgers.edu>2003-07-09 00:44:34 +0000
committerKaveh Ghazi <ghazi@caip.rutgers.edu>2003-07-09 00:44:34 +0000
commit7264bf5cca977088d542a553c689929dc2a1e8ce (patch)
treede9aaefcc4ca5501862b82012e9dc7f369354405 /gcc/genattrtab.h
parentd30f45ec047cd11f874ac3f1aad805616362abba (diff)
* genattr.c (internal_dfa_insn_code): Don't prototype.
* genattrtab.c (attr_desc): Add `static_p' field. (expand_units): Make blockage range and ready cost functions static. (write_attr_get): Don't add extern prototypes in C file. Mark static functions as appropriate. (find_attr, make_internal_attr): Initialize static_p. * genattrtab.h (ATTR_STATIC): New macro. * genautomata.c (output_internal_reset_func): Mark output function as inline. (make_internal_dfa_insn_code_attr): Mark output function as static. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@69116 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.h')
-rw-r--r--gcc/genattrtab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genattrtab.h b/gcc/genattrtab.h
index d5c04005753..1af43c0a191 100644
--- a/gcc/genattrtab.h
+++ b/gcc/genattrtab.h
@@ -55,3 +55,4 @@ extern void write_automata (void);
#define ATTR_UNSIGNED (1 << 2)
#define ATTR_FUNC_UNITS (1 << 3)
#define ATTR_BLOCKAGE (1 << 4)
+#define ATTR_STATIC (1 << 5)