diff options
author | Jeff Law <law@redhat.com> | 2004-11-21 08:02:30 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2004-11-21 08:02:30 -0700 |
commit | db02564e0a85c02865edf7db08d9fc343aa6b375 (patch) | |
tree | 46b40153746b80709661cb3998bd61282bdde0a0 /gcc/tree-ssa-threadupdate.c | |
parent | 20fff8cd7c51aa392a6dac477002afdf68df5efd (diff) | |
download | gcc-db02564e0a85c02865edf7db08d9fc343aa6b375.zip gcc-db02564e0a85c02865edf7db08d9fc343aa6b375.tar.gz gcc-db02564e0a85c02865edf7db08d9fc343aa6b375.tar.bz2 |
tree-ssa-threadupdate.c (redirection_data_hash): Use the index of the destination block for the hash value rather than hashing a...
* tree-ssa-threadupdate.c (redirection_data_hash): Use the
index of the destination block for the hash value rather than
hashing a pointer.
From-SVN: r90980
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index 8d205fd..7d2788d 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -203,7 +203,7 @@ static hashval_t redirection_data_hash (const void *p) { edge e = ((struct redirection_data *)p)->outgoing_edge; - return htab_hash_pointer (e); + return e->dest->index; } static int |