]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/gcc-interface/trans.cc
[Ada] Minor cleanup in translation of calls to subprograms
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 5 Nov 2021 11:07:42 +0000 (12:07 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 10 Nov 2021 08:57:43 +0000 (08:57 +0000)
commitf15ad1e3f9488a31abf1c122bd186c1a3d2a5dbc
tree6cc7846b7b66b2075f8fbca8c23db98267918a6d
parent0e988162f6e9cbb9bea998b4f1febda199769692
[Ada] Minor cleanup in translation of calls to subprograms

gcc/ada/

* gcc-interface/ada-tree.h (DECL_STUBBED_P): Delete.
* gcc-interface/decl.c (gnat_to_gnu_entity): Do not set it.
* gcc-interface/trans.c (Call_to_gnu): Use GNAT_NAME local variable
and adjust accordingly.  Replace test on DECL_STUBBED_P with direct
test on Convention and move it down in the processing.
gcc/ada/gcc-interface/ada-tree.h
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c
This page took 0.05667 seconds and 5 git commands to generate.