[Ada] Separate building of equality from other dispatching routines
commit5ae5ba7ab10f9cc4d897f0553c472f33875453e0
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 22 Nov 2021 16:58:06 +0000 (22 17:58 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 2 Dec 2021 16:26:24 +0000 (2 16:26 +0000)
tree1765f4a5192d7260987f9256decb9d846b4e4594
parenta83c4eea27122fe2f90ff35d813ca34e8f542387
[Ada] Separate building of equality from other dispatching routines

gcc/ada/

* exp_ch3.adb (Make_Predefined_Primitive_Specs): Move code for
spec of dispatching equality.
(Predefined_Primitive_Bodies): Move code for body if dispatching
equality.
(Make_Predefined_Primitive_Eq_Spec): Separated code for spec of
dispatching equality.
(Predefined_Primitive_Eq_Body): Separated code for body of
dispatching equality.
* exp_ch3.ads: Update.
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch3.ads