summaryrefslogtreecommitdiffstats
path: root/gcc/ggc-none.c
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-04 07:11:05 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-04 07:11:05 +0000
commit1f3233d13f58417984cb2239d328b65e8d172744 (patch)
tree720630adca0f6b357e05c4feb8cbe33d556925ce /gcc/ggc-none.c
parent0dc11899d8781bca1da5f4421327d61890424808 (diff)
downloadppe42-gcc-1f3233d13f58417984cb2239d328b65e8d172744.tar.gz
ppe42-gcc-1f3233d13f58417984cb2239d328b65e8d172744.zip
Merge from pch-branch up to tag pch-commit-20020603.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4
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 ae3f6e9a971..3711475dc0b 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);
+}
OpenPOWER on IntegriCloud