gengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format.

* gengenrtl.c (gencode): Write obstack_alloc_rtx function start
	in proper format.

From-SVN: r33311
This commit is contained in:
Richard Kenner 2000-04-21 19:09:18 +00:00 committed by Richard Kenner
parent 403e25d0ba
commit cdd83c3137
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gengenrtl.c (gencode): Write obstack_alloc_rtx function start
in proper format.
* cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
note for REG1.

View File

@ -360,7 +360,8 @@ gencode ()
puts ("#include \"ggc.h\"\n\n");
puts ("extern struct obstack *rtl_obstack;\n\n");
puts ("static rtx obstack_alloc_rtx PARAMS ((int length));\n");
puts ("static rtx obstack_alloc_rtx (length)\n");
puts ("static rtx\n");
puts ("obstack_alloc_rtx (length)\n");
puts (" register int length;\n{\n");
puts (" rtx rt = (rtx) obstack_alloc (rtl_obstack, length);\n\n");
puts (" memset(rt, 0, sizeof(struct rtx_def) - sizeof(rtunion));\n\n");