cp-tree.h (mangle_type): Remove.
authorMark Mitchell <mark@codesourcery.com>
Wed, 25 Aug 2004 16:58:23 +0000 (16:58 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 25 Aug 2004 16:58:23 +0000 (16:58 +0000)
commit2b8fe4a03fe73c160c642733de68868f1d8c3772
tree7b28cb1ae482b7054de991a613eeebee597435a6
parent40f201864ffd59ee5936db9ba75bc918227a6798
cp-tree.h (mangle_type): Remove.

* cp-tree.h (mangle_type): Remove.
* mangle.c (globals): GTY it.
(mangle_obstack): New variable.
(name_obstack): Likewise.
(name_base): Likewise.
(write_char): Adjust accordingly.
(write_chars): Likewise.
(write_string): Likewise.
(start_mangling): Initialize G.substitutions only one.  Add
ident_p parameter.
(finish_mangling): Use VARRAY_CLEAR to reclaim
storage in G.substitutions.  Use obstack_finish.
(init_mangle): Adjust for changes to variable names above.
Initialize G.substitutions.
(mangle_decl_string): Adjust call to start_mangling.
(get_identifier_nocopy): New function.
(mangle_decl): Use it.
(mangle_type_string): Adjust call to start_mangling.
(mangle_special_for_type): Likewise.
(mangle_vtt_for_type): Likewise.
(mangle_ctor_vtbl_for_type): Likewise.
(mangle_thunk): Likewise.
(mangle_guard_variable): Likewise.
(mangle_ref_init_variable): Likewise.

From-SVN: r86559
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/mangle.c