ggc.h (ggc_alloc_rtvec_sized): Change arguments of ggc_alloc_zone_vec_rtvec_def.

2011-08-16  Liang Wang  <lwang1@marvell.com>

	* ggc.h (ggc_alloc_rtvec_sized): Change arguments of
	ggc_alloc_zone_vec_rtvec_def.

From-SVN: r177782
This commit is contained in:
Liang Wang 2011-08-16 09:49:28 +00:00 committed by Richard Biener
parent a1bc7628e4
commit c50584186d
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-08-16 Liang Wang <lwang1@marvell.com>
* ggc.h (ggc_alloc_rtvec_sized): Change arguments of
ggc_alloc_zone_vec_rtvec_def.
2011-08-16 Richard Guenther <rguenther@suse.de>
* tree-vrp.c (extract_range_from_multiplicative_op_1): New

View File

@ -266,8 +266,9 @@ extern struct alloc_zone tree_zone;
extern struct alloc_zone tree_id_zone;
#define ggc_alloc_rtvec_sized(NELT) \
(ggc_alloc_zone_vec_rtvec_def (sizeof (rtx), \
sizeof (struct rtvec_def) + ((NELT) - 1), \
(ggc_alloc_zone_vec_rtvec_def (1, \
sizeof (struct rtvec_def) \
+ ((NELT) - 1) * sizeof (rtx), \
&rtl_zone))
#if defined (GGC_ZONE) && !defined (GENERATOR_FILE)