]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Avoid repeated calls in analysis of expression functions
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 28 May 2021 12:53:21 +0000 (14:53 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 9 Jul 2021 12:35:24 +0000 (12:35 +0000)
commit8a13a0017e52979c4b55f4c6294f4794882a9ce7
tree76f9ccf8bc8fef7536d66db2936419ec6ff1a522
parent8bab88ba7bec025ef9db7ed5cb8d525fceab8636
[Ada] Avoid repeated calls in analysis of expression functions

gcc/ada/

* sem_ch6.adb (Analyze_Expression_Function): Use Orig_N variable
instead of repeated calls to Original_Node.
gcc/ada/sem_ch6.adb