Commit 2dbbe435 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

* genextract.c (main): Set ro_loc for peepholes.

From-SVN: r47308
parent e1c12209
2001-11-24 Hans-Peter Nilsson <hp@axis.com>
* genextract.c (main): Set ro_loc for peepholes.
Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
* fix-header.c (main): Move inf_buffer termination and inf_limit
......
......@@ -434,9 +434,11 @@ from the machine description file `md'. */\n\n");
/* The vector in the insn says how many operands it has.
And all it contains are operands. In fact, the vector was
created just for the sake of this function. */
created just for the sake of this function. We need to set the
location of the operands for sake of simplifications after
extraction, like eliminating subregs. */
printf (" for (i = XVECLEN (pat, 0) - 1; i >= 0; i--)\n");
printf (" ro[i] = XVECEXP (pat, 0, i);\n");
printf (" ro[i] = *(ro_loc[i] = &XVECEXP (pat, 0, i));\n");
printf (" break;\n\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment