decl2.c (collect_candidates_for_java_method_aliases): Remove.
authorAldy Hernandez <aldyh@redhat.com>
Sat, 9 May 2015 03:28:40 +0000 (03:28 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Sat, 9 May 2015 03:28:40 +0000 (03:28 +0000)
commit09c5f835e7ca90b344a6471acbe360fc33b77fa7
treed21d028ef26baf53318c2bc396a637777bf3427e
parent9c330d029c2a6a58de6bf37851e4f650ef9d40a1
decl2.c (collect_candidates_for_java_method_aliases): Remove.

* decl2.c (collect_candidates_for_java_method_aliases): Remove.
(build_java_method_aliases): Adapt to use create_same_body_alias
instead of assemble_alias.  Move variable declarations to
definition and tidy up.
(cp_write_global_declarations): Call build_java_method_aliases
instead of collecting candidates first.

From-SVN: r222933
gcc/cp/ChangeLog
gcc/cp/decl2.c