diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-13 18:20:17 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-13 18:20:17 -0400 |
commit | 5f34005f06e800994dd6a305788cadd89488e92f (patch) | |
tree | b5c0540e018400ac13a652e7ab0c5733d1531ee0 /gcc/fold-const.c | |
parent | 8bf41929899a91163f6b45ed5965fb5be195abd3 (diff) | |
download | gcc-5f34005f06e800994dd6a305788cadd89488e92f.zip gcc-5f34005f06e800994dd6a305788cadd89488e92f.tar.gz gcc-5f34005f06e800994dd6a305788cadd89488e92f.tar.bz2 |
(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.
From-SVN: r9935
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions