diff options
Diffstat (limited to 'gcc/genpeep.c')
-rwxr-xr-x | gcc/genpeep.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c index 661bddf..612fd90 100755 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -107,7 +107,7 @@ gen_peephole (peep) /* Walk the insn's pattern, remembering at all times the path down to the walking point. */ - match_rtx (XVECEXP (peep, 0, i), NULL_PTR, insn_code_number); + match_rtx (XVECEXP (peep, 0, i), NULL, insn_code_number); } /* We get this far if the pattern matches. @@ -384,27 +384,27 @@ print_code (code) } } -PTR +void * xmalloc (size) size_t size; { - register PTR val = (PTR) malloc (size); + register void *val = malloc (size); if (val == 0) fatal ("virtual memory exhausted"); return val; } -PTR +void * xrealloc (old, size) - PTR old; + void *old; size_t size; { - register PTR ptr; + register void *ptr; if (old) - ptr = (PTR) realloc (old, size); + ptr = realloc (old, size); else - ptr = (PTR) malloc (size); + ptr = malloc (size); if (!ptr) fatal ("virtual memory exhausted"); return ptr; |