aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@gcc.gnu.org>2016-04-21 21:55:35 +0000
committerPatrick Palka <ppalka@gcc.gnu.org>2016-04-21 21:55:35 +0000
commit5c71225085d9b18c54d39bc2601f080c16d99834 (patch)
tree1e483df6c812e44c59a5a71f90692d835c245a6c /gcc/tree-vrp.c
parent617d8e43f95f1dc7fdeebf980723a675a233b0db (diff)
downloadgcc-5c71225085d9b18c54d39bc2601f080c16d99834.zip
gcc-5c71225085d9b18c54d39bc2601f080c16d99834.tar.gz
gcc-5c71225085d9b18c54d39bc2601f080c16d99834.tar.bz2
Reuse the saved_scope structures allocated by push_to_top_level
gcc/cp/ChangeLog: * name-lookup.c (free_saved_scope): New free list of saved_scope structures. (push_to_top_level): Attempt to reuse a saved_scope struct from free_saved_scope instead of allocating a new one each time. (pop_from_top_level_1): Chain the now-unused saved_scope structure onto free_saved_scope. From-SVN: r235351
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions