]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Make Exp_Ch9.Build_Task_Allocate_Block a function
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 22 Nov 2025 14:19:28 +0000 (15:19 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 9 Jan 2026 10:57:12 +0000 (11:57 +0100)
commit755b0aad03b7fb4327c71d848e4d64c702eceb4f
treeea530ab8baf72d9fa398ac5161555350e83285df
parentccf9af9d274ed9536d67868259191b96e82f8625
ada: Make Exp_Ch9.Build_Task_Allocate_Block a function

This streamlines the code in the callers.  No functional changes.

gcc/ada/ChangeLog:

* exp_ch9.ads (Build_Task_Allocate_Block): Change to function and
remove first formal parameter.
* exp_ch9.adb (Build_Task_Allocate_Block): Likewise.  Return an
anonymous list of nodes.
* exp_aggr.adb (Convert_Aggr_In_Allocator): Adjust to above change.
* exp_ch4.adb (Expand_N_Allocator): Likewise.
* exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Likewise.
gcc/ada/exp_aggr.adb
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch9.adb
gcc/ada/exp_ch9.ads