diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-12-02 01:39:20 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-12-02 01:39:20 +0000 |
commit | b58b21d521f8ee8dd0f53708d937db75262ae65e (patch) | |
tree | 9af4e807352e25d03e2723102e67712a53d561d9 /libjava/java/io/natObjectInputStream.cc | |
parent | 98376d4a7e314f36ec28ad7fae40d0e23cd77a7f (diff) | |
download | gcc-b58b21d521f8ee8dd0f53708d937db75262ae65e.zip gcc-b58b21d521f8ee8dd0f53708d937db75262ae65e.tar.gz gcc-b58b21d521f8ee8dd0f53708d937db75262ae65e.tar.bz2 |
re PR rtl-optimization/12322 (Significant slowdown when compiling computed-goto code in Parrot)
PR optimization/12322
* gcse.c (struct ls_expr): Change type of hash_index from int to
unsigned int.
(hash_expr): Document hash_table_size parameter and wrap long line.
(ldst_entry): Calculate expression's hash_index and record in ptr.
(trim_ld_motion_mems): Use hash_index to search a single bucket
instead of scanning the entire hash_table. Remove the "del" local
variable and use the equivalent "expr == 0" instead. Change last
to be a pointer to the pointer to the current element, to simplify
and speed-up deleting from a linked list.
From-SVN: r74144
Diffstat (limited to 'libjava/java/io/natObjectInputStream.cc')
0 files changed, 0 insertions, 0 deletions