diff options
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index f559eb97869..dab819bf6b1 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -738,33 +738,6 @@ output_peephole2_scratches (split) insn_nr++; } } - -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 **)); |