[Ada] Replace call with a reference to a local constant
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 31 Dec 2020 12:11:00 +0000 (13:11 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 3 May 2021 09:28:25 +0000 (05:28 -0400)
commit4e54d69b665d434bc3d74c0f8ebb2993a5539ffd
tree1668918fbb3b313d8d26437a835797c6df21b438
parentef9dd96c920268b679bfde704db2f72ffeef0f9b
[Ada] Replace call with a reference to a local constant

gcc/ada/

* sem_ch4.adb (Try_Object_Operation): Reuse local constant.
gcc/ada/sem_ch4.adb