aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-streamer-out.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2020-05-22 12:29:19 +0200
committerJan Hubicka <jh@suse.cz>2020-05-22 12:30:14 +0200
commit47273df0bcdd552385f25049dce71943aac8321e (patch)
tree20f5b2a2605f1215f1256d9635f44a0a7eb86c15 /gcc/tree-streamer-out.c
parentab7eca92926fdc1da880120c116a1832fce56a29 (diff)
downloadgcc-47273df0bcdd552385f25049dce71943aac8321e.zip
gcc-47273df0bcdd552385f25049dce71943aac8321e.tar.gz
gcc-47273df0bcdd552385f25049dce71943aac8321e.tar.bz2
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
Diffstat (limited to 'gcc/tree-streamer-out.c')
0 files changed, 0 insertions, 0 deletions