aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-03-30 12:59:23 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-18 08:40:58 +0000
commit700cd7d6733e62e5ad8212cb6c51866679173b41 (patch)
treed07cc253bdcf1ab03a7da81b5ba0afa22131aa32 /gcc/ada/sem_ch3.adb
parent1ef3f0911cf08f1b80c845ee7eee07ecf43b9c8a (diff)
downloadgcc-700cd7d6733e62e5ad8212cb6c51866679173b41.zip
gcc-700cd7d6733e62e5ad8212cb6c51866679173b41.tar.gz
gcc-700cd7d6733e62e5ad8212cb6c51866679173b41.tar.bz2
[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.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions