Commit 27108369 by Richard Kenner

(copy_for_inline): Call gen_rtvec_vv.

From-SVN: r13169
parent da3a3ba6
...@@ -1148,7 +1148,7 @@ copy_for_inline (orig) ...@@ -1148,7 +1148,7 @@ copy_for_inline (orig)
{ {
register int j; register int j;
XVEC (x, i) = gen_rtvec_v (XVECLEN (x, i), &XVECEXP (x, i, 0)); XVEC (x, i) = gen_rtvec_vv (XVECLEN (x, i), XVEC (x, i)->elem);
for (j = 0; j < XVECLEN (x, i); j++) for (j = 0; j < XVECLEN (x, i); j++)
XVECEXP (x, i, j) XVECEXP (x, i, j)
= copy_for_inline (XVECEXP (x, i, j)); = copy_for_inline (XVECEXP (x, i, j));
......
...@@ -3166,8 +3166,8 @@ eliminate_regs (x, mem_mode, insn) ...@@ -3166,8 +3166,8 @@ eliminate_regs (x, mem_mode, insn)
new = eliminate_regs (XVECEXP (x, i, j), mem_mode, insn); new = eliminate_regs (XVECEXP (x, i, j), mem_mode, insn);
if (new != XVECEXP (x, i, j) && ! copied_vec) if (new != XVECEXP (x, i, j) && ! copied_vec)
{ {
rtvec new_v = gen_rtvec_v (XVECLEN (x, i), rtvec new_v = gen_rtvec_vv (XVECLEN (x, i),
&XVECEXP (x, i, 0)); XVEC (x, i)->elem);
if (! copied) if (! copied)
{ {
rtx new_x = rtx_alloc (code); rtx new_x = rtx_alloc (code);
......
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