aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-none.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@redhat.com>2002-06-04 07:11:05 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2002-06-04 07:11:05 +0000
commite2500fedef1a1c5b9e818fd1e2c281adff80df4a (patch)
tree720630adca0f6b357e05c4feb8cbe33d556925ce /gcc/ggc-none.c
parentc2ae66169b8326bbf9b1dfa63083d2560fea7ddf (diff)
downloadgcc-e2500fedef1a1c5b9e818fd1e2c281adff80df4a.zip
gcc-e2500fedef1a1c5b9e818fd1e2c281adff80df4a.tar.gz
gcc-e2500fedef1a1c5b9e818fd1e2c281adff80df4a.tar.bz2
Merge from pch-branch up to tag pch-commit-20020603.
From-SVN: r54232
Diffstat (limited to 'gcc/ggc-none.c')
-rw-r--r--gcc/ggc-none.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c
index ae3f6e9..3711475 100644
--- a/gcc/ggc-none.c
+++ b/gcc/ggc-none.c
@@ -32,3 +32,18 @@ ggc_alloc (size)
{
return xmalloc (size);
}
+
+void *
+ggc_alloc_cleared (size)
+ size_t size;
+{
+ return xcalloc (size, 1);
+}
+
+void *
+ggc_realloc (x, size)
+ void *x;
+ size_t size;
+{
+ return xrealloc (x, size);
+}