summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-09-12 05:46:08 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-09-12 05:46:08 -0700
commita995e389c4aed94fbfc35bd283ade7dd775add7c (patch)
treec2582159a30e1f83f4d7b7bcd2806fb8331123b2 /gcc/expr.h
parentddf16f18413b904c1b524e9d385aabd394fa5d7b (diff)
downloadgcc-a995e389c4aed94fbfc35bd283ade7dd775add7c.tar.gz
Replace insn_foo with insn_data.foo.
From-SVN: r29358
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 26c53cf8dbc..53cb9a9bd67 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -286,13 +286,11 @@ typedef struct optab
So produce the pointer-to-function directly.
Luckily, these compilers seem to work properly when you
call the pointer-to-function. */
-#define GEN_FCN(CODE) (insn_gen_function[(int) (CODE)])
+#define GEN_FCN(CODE) (insn_data[(int) (CODE)].genfun)
#else
-#define GEN_FCN(CODE) (*insn_gen_function[(int) (CODE)])
+#define GEN_FCN(CODE) (*insn_data[(int) (CODE)].genfun)
#endif
-extern rtx (*const insn_gen_function[]) PROTO ((rtx, ...));
-
/* Enumeration of valid indexes into optab_table. */
enum optab_index
{