summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-18 12:32:11 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-18 12:32:11 +0000
commit84aacb407a5cc753b4341edca0ccaa61e3ef5d68 (patch)
treecad6dcd18e053b0942232163fd9d1917b95533ef /gcc/function.h
parent53315a0cca0bdd12f797a2b34aeaac037a9e864a (diff)
downloadgcc-84aacb407a5cc753b4341edca0ccaa61e3ef5d68.tar.gz
* function.c (temp_slots_at_level, max_slot_level): Use VEC
instead of VARRAY. * function.h (temp_slot_p): New. (function): Change the type of x_used_temp_slots to VEC(temp_slot_p,gc) *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113029 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 859709f609c..bce52909aeb 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -159,6 +159,12 @@ struct expr_status GTY(())
#define forced_labels (cfun->expr->x_forced_labels)
#define stack_pointer_delta (cfun->expr->x_stack_pointer_delta)
+struct temp_slot;
+typedef struct temp_slot *temp_slot_p;
+
+DEF_VEC_P(temp_slot_p);
+DEF_VEC_ALLOC_P(temp_slot_p,gc);
+
/* This structure can save all the important global and static variables
describing the status of the current function. */
@@ -266,7 +272,7 @@ struct function GTY(())
rtx x_parm_birth_insn;
/* List of all used temporaries allocated, by level. */
- struct varray_head_tag * GTY((param_is (struct temp_slot))) x_used_temp_slots;
+ VEC(temp_slot_p,gc) *x_used_temp_slots;
/* List of available temp slots. */
struct temp_slot *x_avail_temp_slots;