mangle.c (write_encoding): Pass write_function_type the FUNCTION_DECL for the functio...
authorMark Mitchell <mark@codesourcery.com>
Thu, 22 Feb 2001 21:46:06 +0000 (21:46 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 22 Feb 2001 21:46:06 +0000 (21:46 +0000)
commitf58c04acd70df794d50afb1cd8879e16ca73bc92
treed70002c227d31ea58a034c1d945755f80f550a52
parent3844cd2e43cc40dbbaedc6e900be59ad5f4b3cfc
mangle.c (write_encoding): Pass write_function_type the FUNCTION_DECL for the function being encoded.

* mangle.c (write_encoding): Pass write_function_type the
FUNCTION_DECL for the function being encoded.
(write_function_type): Pass it along to write_bare_function_type.
(write_bare_function_type): Pass it along to write_method_parms.
(write_method_parms): Don't mangle the compiler-generated
parameters to a constructor or destructor.

From-SVN: r39985
gcc/cp/ChangeLog
gcc/cp/mangle.c