Deleted Added
full compact
62c62
< static void gen_insn PARAMS ((rtx));
---
> static void gen_insn PARAMS ((rtx, int));
249c249
< printf (HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
---
> printf (HOST_WIDE_INT_PRINT_DEC_C, INTVAL (x));
300c300
< gen_insn (insn)
---
> gen_insn (insn, lineno)
301a302
> int lineno;
385a387,388
> printf ("/* %s:%d */\n", read_rtx_filename, lineno);
>
524,525c527,529
< && GET_CODE (XVECEXP (next, 0, 0)) == SET
< && GET_CODE (SET_DEST (XVECEXP (next, 0, 0))) == PC)
---
> && ((GET_CODE (XVECEXP (next, 0, 0)) == SET
> && GET_CODE (SET_DEST (XVECEXP (next, 0, 0))) == PC)
> || GET_CODE (XVECEXP (next, 0, 0)) == RETURN))
555c559
< /* Call `gen_sequence' to make a SEQUENCE out of all the
---
> /* Call `get_insns' to extract the list of all the
558c562
< printf (" _val = gen_sequence ();\n");
---
> printf (" _val = get_insns ();\n");
563c567
< /* Like gen_expand, but generates a SEQUENCE. */
---
> /* Like gen_expand, but generates insns resulting from splitting SPLIT. */
667c671
< /* Call `gen_sequence' to make a SEQUENCE out of all the
---
> /* Call `get_insns' to make a list of all the
670c674
< printf (" _val = gen_sequence ();\n");
---
> printf (" _val = get_insns ();\n");
841c845
< printf ("#define DONE return (_val = gen_sequence (), end_sequence (), _val)\n");
---
> printf ("#define DONE return (_val = get_insns (), end_sequence (), _val)\n\n");
855,857c859,861
< case DEFINE_INSN:
< gen_insn (desc);
< break;
---
> case DEFINE_INSN:
> gen_insn (desc, line_no);
> break;
859,861c863,866
< case DEFINE_EXPAND:
< gen_expand (desc);
< break;
---
> case DEFINE_EXPAND:
> printf ("/* %s:%d */\n", read_rtx_filename, line_no);
> gen_expand (desc);
> break;
863,865c868,871
< case DEFINE_SPLIT:
< gen_split (desc);
< break;
---
> case DEFINE_SPLIT:
> printf ("/* %s:%d */\n", read_rtx_filename, line_no);
> gen_split (desc);
> break;
867,869c873,876
< case DEFINE_PEEPHOLE2:
< gen_split (desc);
< break;
---
> case DEFINE_PEEPHOLE2:
> printf ("/* %s:%d */\n", read_rtx_filename, line_no);
> gen_split (desc);
> break;
871,873c878,880
< default:
< break;
< }
---
> default:
> break;
> }