aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-05-29 18:35:33 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2011-05-29 16:35:33 +0000
commitfac009a816ef2045f260f38582d367fec16b5879 (patch)
tree55488db88a4ef43a345e0a0421381d1495453b7c /gcc/rtlanal.c
parent8bea6ce4920cab0c065bcc6ae1eb0b26fc582ebe (diff)
downloadgcc-fac009a816ef2045f260f38582d367fec16b5879.zip
gcc-fac009a816ef2045f260f38582d367fec16b5879.tar.gz
gcc-fac009a816ef2045f260f38582d367fec16b5879.tar.bz2
lto-streamer-out.c (hash_string_slot_node): Hash string based on its length.
* lto-streamer-out.c (hash_string_slot_node): Hash string based on its length. (string_slot_free): Remove (create_output_block): Initialize obstack. (destroy_output_block): Free obstack. (lto_string_index): Add PERSISTENT parameter; do not duplicate the string unless it needs to be added into the hash. (lto_output_string_with_length): Add persistent attribute; handle NULL strings. (lto_output_string): Add PERSISTENT parameter. (output_string_cst, output_identifier): Simplify. (lto_output_location_bitpack): Update. (lto_output_builtin_tree): Update. * lto-streamer.h (struct output_block): Add obstack. (lto_output_string, lto_output_string_with_length): Remove declarations; functions are static now. From-SVN: r174397
Diffstat (limited to 'gcc/rtlanal.c')
0 files changed, 0 insertions, 0 deletions