parent
262767053e
commit
1e8964cf94
|
@ -1,3 +1,8 @@
|
|||
2004-09-01 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* gengenrtl.c (gendef): Use rtx_alloc, don't do PUT_CODE.
|
||||
* ggc.h (ggc_alloc_rtx): Delete.
|
||||
|
||||
2004-09-01 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* expmed.c (enum alg_code): Remove long unused enumeration values.
|
||||
|
|
|
@ -268,10 +268,8 @@ gendef (const char *format)
|
|||
the memory and initializes it. */
|
||||
puts ("{");
|
||||
puts (" rtx rt;");
|
||||
puts (" rt = ggc_alloc_rtx (code);\n");
|
||||
puts (" rt = rtx_alloc (code);\n");
|
||||
|
||||
puts (" memset (rt, 0, RTX_HDR_SIZE);\n");
|
||||
puts (" PUT_CODE (rt, code);");
|
||||
puts (" PUT_MODE (rt, mode);");
|
||||
|
||||
for (p = format, i = j = 0; *p ; ++p, ++i)
|
||||
|
|
|
@ -245,9 +245,6 @@ extern void dump_ggc_loc_statistics (void);
|
|||
#define GGC_NEWVAR(T, S) ((T *) ggc_alloc ((S)))
|
||||
#define GGC_CNEWVAR(T, S) ((T *) ggc_alloc_cleared ((S)))
|
||||
|
||||
#define ggc_alloc_rtx(CODE) \
|
||||
((rtx) ggc_alloc_typed (gt_ggc_e_7rtx_def, RTX_SIZE (CODE)))
|
||||
|
||||
#define ggc_alloc_rtvec(NELT) \
|
||||
((rtvec) ggc_alloc_typed (gt_ggc_e_9rtvec_def, sizeof (struct rtvec_def) \
|
||||
+ ((NELT) - 1) * sizeof (rtx)))
|
||||
|
|
Loading…
Reference in New Issue