summaryrefslogtreecommitdiff
path: root/gcc/genpeep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genpeep.c')
-rw-r--r--gcc/genpeep.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index dc90c73e2c8..fa8d08fdece 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -368,32 +368,6 @@ print_code (code)
for (p1 = GET_RTX_NAME (code); *p1; p1++)
putchar (TOUPPER(*p1));
}
-
-PTR
-xmalloc (size)
- size_t size;
-{
- register PTR val = (PTR) malloc (size);
-
- if (val == 0)
- fatal ("virtual memory exhausted");
- return val;
-}
-
-PTR
-xrealloc (old, size)
- PTR old;
- size_t size;
-{
- register PTR ptr;
- if (old)
- ptr = (PTR) realloc (old, size);
- else
- ptr = (PTR) malloc (size);
- if (!ptr)
- fatal ("virtual memory exhausted");
- return ptr;
-}
extern int main PARAMS ((int, char **));