lto-streamer.c (cached_bp): New global variable.
authorRichard Guenther <rguenther@suse.de>
Sat, 29 May 2010 17:39:56 +0000 (17:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 29 May 2010 17:39:56 +0000 (17:39 +0000)
commit1be8f484daafb39d2230b78e2b7cc3c0f20e6fa7
tree28374f45b0af34eb28452e521d147f31dd022001
parent0247298c2882ee01793b82644d3d7ea32feace68
lto-streamer.c (cached_bp): New global variable.

2010-05-29  Richard Guenther  <rguenther@suse.de>

* lto-streamer.c (cached_bp): New global variable.
(bitpack_create): Return the cached bitpack, if available.
(bitpack_delete): Clear and cache the bitpack, if appropriate.
(bp_pack_value): Remove redundant asserts.

From-SVN: r160032
gcc/ChangeLog
gcc/lto-streamer.c