]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Small cleanup in finalization machinery
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 23 Oct 2023 18:46:15 +0000 (20:46 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 21 Nov 2023 09:57:41 +0000 (10:57 +0100)
commitd9481c5dc0bac26a2e1ae77eaef6143e0b723fe2
tree60ea68291f69ba8ad843198436f9289e635f89ce
parentd325c129d103cdc206165ee575a01e2bee7caad9
ada: Small cleanup in finalization machinery

This removes an obsolete flag and adjusts a couple of obsolete comments.

gcc/ada/

* gen_il-fields.ads (Opt_Field_Enum): Remove Is_Finalization_Wrapper
* gen_il-gen-gen_nodes.adb (N_Block_Statement): Likewise.
* sinfo.ads (Is_Finalization_Wrapper): Delete.
* exp_ch7.adb (Build_Finalizer.Process_Declarations): Adjust comment
and remove obsolete code testing the Is_Finalization_Wrapper flag.
* exp_util.adb (Requires_Cleanup_Actions): Likewise.
gcc/ada/exp_ch7.adb
gcc/ada/exp_util.adb
gcc/ada/gen_il-fields.ads
gcc/ada/gen_il-gen-gen_nodes.adb
gcc/ada/sinfo.ads