diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-06-24 14:46:21 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-08-01 17:14:34 +0200 |
commit | f61d9979a75b171a917ffcd03da5e4e5f62bcc50 (patch) | |
tree | 7bffb0921f938a5fc984bf18834317c1070bfafe /gcc/ada/sem_ch3.adb | |
parent | 76d37f8612faa0bf89983869a90e773794eaa227 (diff) | |
download | gcc-f61d9979a75b171a917ffcd03da5e4e5f62bcc50.zip gcc-f61d9979a75b171a917ffcd03da5e4e5f62bcc50.tar.gz gcc-f61d9979a75b171a917ffcd03da5e4e5f62bcc50.tar.bz2 |
ada: Couple of cleanups in finalization machinery
This removes a parameter and a variable that are entirely determined by
another parameter and another variable respectively.
gcc/ada/
* exp_ch7.ads (Build_Finalizer): Remove Top_Decls parameter.
* exp_ch7.adb (Build_Finalizer): Likewise. Rename Counter_Val into
Count, replace Has_Ctrl_Objs local variable by expression
function, remove Spec_Decls local variable and do not reset
Finalizer_Decls.
(Expand_Cleanup_Actions): Adjust call to Build_Finalizer.
(Expand_N_Package_Body): Likewise.
(Expand_N_Package_Declaration): Likewise.
* inline.adb (Cleanup_Scopes): Likewise.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions