aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
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/final.c
parentddf16f18413b904c1b524e9d385aabd394fa5d7b (diff)
downloadgcc-a995e389c4aed94fbfc35bd283ade7dd775add7c.zip
gcc-a995e389c4aed94fbfc35bd283ade7dd775add7c.tar.gz
gcc-a995e389c4aed94fbfc35bd283ade7dd775add7c.tar.bz2
Replace insn_foo with insn_data.foo.
From-SVN: r29358
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 6ace9b2..e81895b 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -2898,10 +2898,10 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
/* If the proper template needs to be chosen by some C code,
run that code and get the real template. */
- template = insn_template[insn_code_number];
+ template = insn_data[insn_code_number].template;
if (template == 0)
{
- template = ((*insn_outfun[insn_code_number])
+ template = ((*insn_data[insn_code_number].outfun)
(recog_data.operand, insn));
/* If the C code returns 0, it means that it is a jump insn
@@ -3359,11 +3359,13 @@ output_asm_name ()
{
register int num = INSN_CODE (debug_insn);
fprintf (asm_out_file, "\t%s %d\t%s",
- ASM_COMMENT_START, INSN_UID (debug_insn), insn_name[num]);
- if (insn_n_alternatives[num] > 1)
+ ASM_COMMENT_START, INSN_UID (debug_insn),
+ insn_data[num].name);
+ if (insn_data[num].n_alternatives > 1)
fprintf (asm_out_file, "/%d", which_alternative + 1);
#ifdef HAVE_ATTR_length
- fprintf (asm_out_file, "\t[length = %d]", get_attr_length (debug_insn));
+ fprintf (asm_out_file, "\t[length = %d]",
+ get_attr_length (debug_insn));
#endif
/* Clear this so only the first assembler insn
of any rtl insn will get the special comment for -dp. */