ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx, not an array of rtunion.
* ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx, not an array of rtunion. * gcc-page.c (ggc_alloc_rtvec): Similarly. * gcc-simple (ggc_free_rtvec): Similarly. From-SVN: r29793
This commit is contained in:
parent
910eabe501
commit
88deedb5c9
|
@ -1,5 +1,10 @@
|
|||
Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
|
||||
not an array of rtunion.
|
||||
* gcc-page.c (ggc_alloc_rtvec): Similarly.
|
||||
* gcc-simple (ggc_free_rtvec): Similarly.
|
||||
|
||||
* genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
|
||||
of rtunions.
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ rtvec
|
|||
ggc_alloc_rtvec (nelt)
|
||||
int nelt;
|
||||
{
|
||||
int size = sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtunion);
|
||||
int size = sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtx);
|
||||
rtvec v;
|
||||
|
||||
v = (rtvec) xmalloc (size);
|
||||
|
|
|
@ -795,7 +795,7 @@ ggc_alloc_rtvec (nelt)
|
|||
int nelt;
|
||||
{
|
||||
return (struct rtvec_def *)
|
||||
alloc_obj (sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtunion), 1);
|
||||
alloc_obj (sizeof (struct rtvec_def) + (nelt - 1) * sizeof (rtx), 1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -366,7 +366,7 @@ ggc_free_rtvec (v)
|
|||
#endif
|
||||
#ifdef GGC_POISON
|
||||
memset (v, 0xBB, sizeof (*v) + ((GET_NUM_ELEM (&v->vec) - 1)
|
||||
* sizeof (rtunion)));
|
||||
* sizeof (rtx)));
|
||||
#endif
|
||||
|
||||
free (v);
|
||||
|
|
Loading…
Reference in New Issue