aboutsummaryrefslogtreecommitdiff
path: root/gcc/cselib.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-03-11 22:52:42 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-03-11 21:52:42 +0000
commit7101fb18f30c8d695e1ae4689c41c0a9e3008a10 (patch)
tree599b78f61b4b9d005ee8a2f1af108fa87eb6b1ac /gcc/cselib.h
parente24c3d715a19801f1ce098c55f1a05fa67b75289 (diff)
downloadgcc-7101fb18f30c8d695e1ae4689c41c0a9e3008a10.zip
gcc-7101fb18f30c8d695e1ae4689c41c0a9e3008a10.tar.gz
gcc-7101fb18f30c8d695e1ae4689c41c0a9e3008a10.tar.bz2
cselib.c (cselib_invalidate_mem_1): Move too ...
* 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. From-SVN: r64191
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r--gcc/cselib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h
index f29ee8d..9cceddb 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. */