]> gcc.gnu.org Git - gcc.git/commit
[Ada] Small performance tweak in recent change
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 30 Mar 2022 10:59:23 +0000 (12:59 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 18 May 2022 08:40:58 +0000 (08:40 +0000)
commit700cd7d6733e62e5ad8212cb6c51866679173b41
treed07cc253bdcf1ab03a7da81b5ba0afa22131aa32
parent1ef3f0911cf08f1b80c845ee7eee07ecf43b9c8a
[Ada] Small performance tweak in recent change

This avoids a useless walk of the prefix chain in instances.

gcc/ada/

* sem_ch8.adb (Analyze_Subprogram_Renaming): Move final test on
In_Instance to outer condition.
gcc/ada/sem_ch8.adb
This page took 0.063229 seconds and 6 git commands to generate.