(start_function): Handle setting C_C_D here.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 1995 22:20:17 +0000 (22:20 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 1995 22:20:17 +0000 (22:20 +0000)
commit14abcdadeeda724a5f1bf15166a9fa4257ed27d6
treeb5c0540e018400ac13a652e7ab0c5733d1531ee0
parent5b7ca0e8842cf882fd8ca0c6f4fe154d1b88c0f8
(start_function): Handle setting C_C_D here.
(set_C_C_D): Removed.
(struct saved_scope): Remove class_decl.
(push_to_top_level): Don't save current_class_decl.
(pop_from_top_level): Don't restore current_class_decl or C_C_D.
(struct cp_function): Add C_C_D.
(push_cp_function_context): Save C_C_D.
(pop_cp_function_context): Restore C_C_D.
(set_C_C_D): New function.
(pop_from_top_level, start_function, pop_cp_function_context): Call it.
Lose all references
to current_vtable_decl, CLASSTYPE_INST_VAR and CLASSTYPE_VTBL_PTR.
(push_cp_function_context): Save current_class_decl.
(pop_cp_function_context): Restore current_class_decl and set C_C_D.
(pop_from_top_level): Don't use CLASSTYPE_INST_VAR to set C_C_D.
(start_function): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9935 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/decl.c