gigi.h (build_function_stub): Remove.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 24 Jul 2011 12:45:44 +0000 (12:45 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 24 Jul 2011 12:45:44 +0000 (12:45 +0000)
commitf3d3457603f3d0566555fae58341e9f3137cfdb5
treee8f8094e0aad34848de41c2150299cbb54051171
parent40ecdf413f8cb8709da07361200bd75f651e6fc5
gigi.h (build_function_stub): Remove.

* gcc-interface/gigi.h (build_function_stub): Remove.
(build_return_expr): Likewise.
(convert_vms_descriptor): Declare.
* gcc-interface/utils.c (convert_vms_descriptor): Make global.
(build_function_stub): Move to...
* gcc-interface/utils2.c (build_return_expr): Move to...
* gcc-interface/trans.c (build_function_stub): ...here.
(build_return_expr): ...here.
(Subprogram_Body_to_gnu): Add local variable for language_function.
Disconnect the parameter attributes cache, if any, once done with it.
Call end_subprog_body only after setting the end_locus.
Build the stub associated with the function, if any, at the very end.
(gnat_to_gnu) <N_Return_Statement>: Remove couple of useless local
variables and streamline control flow.

From-SVN: r176712
gcc/ada/ChangeLog
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c
gcc/ada/gcc-interface/utils2.c