diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-11 21:52:42 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-11 21:52:42 +0000 |
commit | bb5b3af84bdd01e3b151df0dbfa59fc36686f02f (patch) | |
tree | 599b78f61b4b9d005ee8a2f1af108fa87eb6b1ac /gcc/cselib.h | |
parent | 2b928612f7146aa778b4fe54e2ebbe4eed8c01d7 (diff) | |
download | gcc-bb5b3af84bdd01e3b151df0dbfa59fc36686f02f.tar.gz |
* cselib.c (cselib_invalidate_mem_1): Move too ...
(cselib_invalidate_mem): ... here; use new list
(dummy_val, first_containing_mem): New static variables.
(clear_table): Initialize first_containing_mem.
(discard_useless_values): Compact the containing_mem list.
(add_mem_for_addr): Add to the list.
* cselib.h (cselib_val): Add next_containing_mem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64191 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r-- | gcc/cselib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h index f29ee8de04e..9cceddbfcbc 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -38,6 +38,8 @@ typedef struct cselib_val_struct GTY(()) /* If this value is used as an address, points to a list of values that use it as an address in a MEM. */ struct elt_list *addr_list; + + struct cselib_val_struct *next_containing_mem; } cselib_val; /* A list of rtl expressions that hold the same value. */ |