aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2001-08-13 15:56:51 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-08-13 15:56:51 +0000
commite78d8e5137ccd2a55617befdc052d1860e7f09f1 (patch)
tree0bf63396b6452b6ba1bd93f734ade1e7f708db6a /gcc/reload.h
parent050e4ca284c3028c7df662ba953be93f5b8fb47b (diff)
downloadgcc-e78d8e5137ccd2a55617befdc052d1860e7f09f1.zip
gcc-e78d8e5137ccd2a55617befdc052d1860e7f09f1.tar.gz
gcc-e78d8e5137ccd2a55617befdc052d1860e7f09f1.tar.bz2
expr.h: Split out optab- and libfunc-related code to...
* expr.h: Split out optab- and libfunc-related code to... * optabs.h, libfuncs.h: ... these new headers. * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h. (OPTABS_H): New. (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to dependencies. * mkconfig.sh: Don't include insn-codes.h from config.h. * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether enum insn_code is available. Move reload_in_optab and reload_out_optab array declarations to optabs.h. * regmove.c (gen_add3_insn): Move to optabs.c, export from there, prototype in expr.h. * gencodes.c: Cleanup: zap global variables, don't use printf where puts will do, don't bother defining MAX_INSN_CODE which nothing uses, let CODE_FOR_nothing get its value implicitly. * genemit.c, genopinit.c: Include optabs.h in generated file. * genoutput.c: Include insn-codes.h in generated file. * builtins.c, caller-save.c, combine.c, doloop.c, explow.c, expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c, reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c, config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c, config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c: Include optabs.h. * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c, optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c, config/m88k/m88k.c, config/sparc/sparc.c: Include libfuncs.h. * reload.c: Include expr.h and optabs.h before reload.h. * config/alpha/alpha.c: Include tree.h before reload.h. * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h, and reload.h in that order. * config/sparc/sparc.c: Include debug.h. * recog.c: Include insn-codes.h. cp: * Make-lang.in (cp/except.o): Add libfuncs.h to dependencies. * except.c: Include libfuncs.h. java: * Make-lang.in (java/decl.o): Update dependencies. * decl.c: Include libfuncs.h, don't include toplev.h. From-SVN: r44858
Diffstat (limited to 'gcc/reload.h')
-rw-r--r--gcc/reload.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/reload.h b/gcc/reload.h
index 40af087..32ddfe5 100644
--- a/gcc/reload.h
+++ b/gcc/reload.h
@@ -82,7 +82,7 @@ enum reload_type
RELOAD_OTHER, RELOAD_FOR_OTHER_ADDRESS
};
-#ifdef MAX_INSN_CODE
+#ifdef GCC_INSN_CODES_H
/* Each reload is recorded with a structure like this. */
struct reload
{
@@ -192,14 +192,6 @@ extern char double_reg_address_ok;
extern int num_not_at_initial_offset;
-#ifdef MAX_INSN_CODE
-/* These arrays record the insn_code of insns that may be needed to
- perform input and output reloads of special objects. They provide a
- place to pass a scratch register. */
-extern enum insn_code reload_in_optab[];
-extern enum insn_code reload_out_optab[];
-#endif
-
struct needs
{
/* [0] is normal, [1] is nongroup. */