]> gcc.gnu.org Git - gcc.git/commit
Simplify streaming of SCC components
authorJan Hubicka <jh@suse.cz>
Fri, 22 May 2020 10:29:19 +0000 (12:29 +0200)
committerJan Hubicka <jh@suse.cz>
Fri, 22 May 2020 10:30:14 +0000 (12:30 +0200)
commit47273df0bcdd552385f25049dce71943aac8321e
tree20f5b2a2605f1215f1256d9635f44a0a7eb86c15
parentab7eca92926fdc1da880120c116a1832fce56a29
Simplify streaming of SCC components

this patch saves few bytes from SCC streaming.  First we stream end markers
that are fully ignored at stream in.
Second I missed streaming of emtry_len in the previous change so it is
pointlessly streamed for LTO_trees. Moreover entry_len is almost always 1
(always during gcc bootstrap) and thus it makes sense to avoid stremaing it
in majority of cases.

gcc/ChangeLog:

2020-05-21  Jan Hubicka  <hubicka@ucw.cz>

* lto-streamer-in.c (lto_read_tree): Do not stream end markers.
(lto_input_scc): Optimize streaming of entry lengths.
* lto-streamer-out.c (lto_write_tree): Do not stream end markers
(DFS::DFS): Optimize stremaing of entry lengths
gcc/ChangeLog
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
This page took 0.055605 seconds and 5 git commands to generate.