]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (Has_Thiscall_Convention): New macro.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 19 May 2012 09:32:50 +0000 (09:32 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 19 May 2012 09:32:50 +0000 (09:32 +0000)
commitc80c1ce9510e2840d036d6a5e9b035a659701c41
tree52608a68d00e823d6d2ae72fe69bd81af3a8b1c6
parent2a2aa0391efaad653fba352187d6c51de479f40b
decl.c (Has_Thiscall_Convention): New macro.

* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the thiscall
calling convention
(get_minimal_subprog_decl): Likewise.
(gnat_first_param_is_class): New predicate.

* gcc-interface/misc.c (gnat_handle_option): Fix formatting.
* gcc-interface/Makefile.in: Likewise.

From-SVN: r187676
gcc/ada/gcc-interface/Makefile.in
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/misc.c