not an array of rtunion.
* gcc-page.c (ggc_alloc_rtvec): Similarly.
* gcc-simple (ggc_free_rtvec): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29793
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
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);
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);
}
#endif
#ifdef GGC_POISON
memset (v, 0xBB, sizeof (*v) + ((GET_NUM_ELEM (&v->vec) - 1)
- * sizeof (rtunion)));
+ * sizeof (rtx)));
#endif
free (v);