cselib.c (find_slot_memmode): Delete.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 27 Apr 2014 21:12:18 +0000 (21:12 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 27 Apr 2014 21:12:18 +0000 (21:12 +0000)
commitf956adb9613ee0e9491b37139d8ab6d7a23e0f3c
tree760a76549513ee629e677cca47e0c7f8f898c8cf
parentd01b2c21cf2d72c552afda7ed796c5584d11d9f3
cselib.c (find_slot_memmode): Delete.

gcc/
* cselib.c (find_slot_memmode): Delete.
(cselib_hasher): Change compare_type to a struct.
(cselib_hasher::equal): Update accordingly.  Don't expect wrapped
constants.
(preserve_constants_and_equivs): Adjust for new compare_type.
(cselib_find_slot): Likewise.  Take the mode of the rtx as argument.
(wrap_constant): Delete.
(cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot.

From-SVN: r209843
gcc/ChangeLog
gcc/cselib.c