cp-tree.h (class_cache_firstobj): Declare.
authorMark Mitchell <mark@codesourcery.com>
Tue, 15 Jun 1999 16:42:46 +0000 (16:42 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 15 Jun 1999 16:42:46 +0000 (16:42 +0000)
commit3f1892e165fbdbc706b9396652d3f55f54706177
tree65e6067fe38f2ccc0452eeb9a3e276c323d4f05a
parentc4e992aee91276c3f62c4194fdd7881d51c6f17c
cp-tree.h (class_cache_firstobj): Declare.

* cp-tree.h (class_cache_firstobj): Declare.
(maybe_push_cache_obstack): Rename to push_cache_obstack.
* class.c (permanent_obstack): Remove declaration.
(class_cache_firstobj): Make it global.
(add_method): Don't use permanent_obstack directly.
(pushclass): Only free the class_cache_obstack if we know how far
back to free it.
(maybe_push_cache_obstack): Rename to push_cache_obstack.
* decl.c: Remove dead comment.
(saved_scope): Add class_cache_firstobj.
(push_to_top_level): Save it.
(pop_from_top_level): Restore it.
(push_class_level_binding): Use push_cache_obstack, not
maybe_push_cache_obstack.
* search.c (push_class_decls): Likewise.

From-SVN: r27534
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/search.c