summaryrefslogtreecommitdiff
path: root/gcc/ggc-page.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-29 07:47:38 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-29 07:47:38 +0000
commit26d37ce2ed0ec6d735e6453528b49974eae29660 (patch)
treebf73d49798603b7cda5fa78d4b6f41f2eae2abea /gcc/ggc-page.c
parent26003052293947e0dc703c3367b4b22a8811d478 (diff)
downloadgcc-26d37ce2ed0ec6d735e6453528b49974eae29660.tar.gz
2013-01-29 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 195526 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@195528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r--gcc/ggc-page.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c
index 693753cb389..32768b2fc86 100644
--- a/gcc/ggc-page.c
+++ b/gcc/ggc-page.c
@@ -1199,15 +1199,6 @@ ggc_round_alloc_size (size_t requested_size)
return size;
}
-/* Typed allocation function. Does nothing special in this collector. */
-
-void *
-ggc_alloc_typed_stat (enum gt_types_enum type ATTRIBUTE_UNUSED, size_t size
- MEM_STAT_DECL)
-{
- return ggc_internal_alloc_stat (size PASS_MEM_STAT);
-}
-
/* Allocate a chunk of memory of SIZE bytes. Its contents are undefined. */
void *
@@ -2230,8 +2221,7 @@ init_ggc_pch (void)
void
ggc_pch_count_object (struct ggc_pch_data *d, void *x ATTRIBUTE_UNUSED,
- size_t size, bool is_string ATTRIBUTE_UNUSED,
- enum gt_types_enum type ATTRIBUTE_UNUSED)
+ size_t size, bool is_string ATTRIBUTE_UNUSED)
{
unsigned order;
@@ -2274,8 +2264,7 @@ ggc_pch_this_base (struct ggc_pch_data *d, void *base)
char *
ggc_pch_alloc_object (struct ggc_pch_data *d, void *x ATTRIBUTE_UNUSED,
- size_t size, bool is_string ATTRIBUTE_UNUSED,
- enum gt_types_enum type ATTRIBUTE_UNUSED)
+ size_t size, bool is_string ATTRIBUTE_UNUSED)
{
unsigned order;
char *result;
@@ -2507,12 +2496,3 @@ ggc_pch_read (FILE *f, void *addr)
/* Update the statistics. */
G.allocated = G.allocated_last_gc = offs - (char *)addr;
}
-
-struct alloc_zone
-{
- int dummy;
-};
-
-struct alloc_zone rtl_zone;
-struct alloc_zone tree_zone;
-struct alloc_zone tree_id_zone;