summaryrefslogtreecommitdiff
path: root/gcc/reload.h
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-20 11:45:26 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-20 11:45:26 +0000
commit2bc9fc534419994243e17f21b906cad1795461e1 (patch)
tree9c02ce26170091fbc2cb20b4806f8a3edce09bd1 /gcc/reload.h
parentcc69bcd02109a1bd756944f5c7a9b36f37d6672c (diff)
downloadgcc-2bc9fc534419994243e17f21b906cad1795461e1.tar.gz
* Makefile.in (GTFILES): Add $(srcdir)/reload.h.
* gengtype.c (open_base_files): Include reload.h in ifiles. * reload.h (reg_equiv_memory_loc_varray): Declare. * reload1.c (reg_equiv_memory_loc_varray): New variable. (init_reload): Initialize it. (reload): Instead of freeing reg_equiv_memory_loc, 'grow' reg_equiv_memory_loc_varray to size 0. * ra.c (reg_alloc): Allocate reg_equiv_memory_loc by growing reg_equiv_memory_loc_varray to the desired size. * passes.c (rest_of_handle_old_regalloc): Likewise. * reload.c: Amend comment on calling init_reload. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.h')
-rw-r--r--gcc/reload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/reload.h b/gcc/reload.h
index 9a5e33c843a..166d2ab0647 100644
--- a/gcc/reload.h
+++ b/gcc/reload.h
@@ -164,6 +164,7 @@ extern struct reload rld[MAX_RELOADS];
extern int n_reloads;
#endif
+extern GTY (()) struct varray_head_tag *reg_equiv_memory_loc_varray;
extern rtx *reg_equiv_constant;
extern rtx *reg_equiv_memory_loc;
extern rtx *reg_equiv_address;