diff options
Diffstat (limited to 'gcc/ada/sinfo.adb')
-rw-r--r-- | gcc/ada/sinfo.adb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ada/sinfo.adb b/gcc/ada/sinfo.adb index a8f7d8b..dfa77a9 100644 --- a/gcc/ada/sinfo.adb +++ b/gcc/ada/sinfo.adb @@ -707,6 +707,14 @@ package body Sinfo is return Node5 (N); end Default_Expression; + function Default_Storage_Pool + (N : Node_Id) return Node_Id is + begin + pragma Assert (False + or else NT (N).Nkind = N_Compilation_Unit_Aux); + return Node3 (N); + end Default_Storage_Pool; + function Default_Name (N : Node_Id) return Node_Id is begin @@ -3694,6 +3702,14 @@ package body Sinfo is Set_Node5 (N, Val); -- semantic field, no parent set end Set_Default_Expression; + procedure Set_Default_Storage_Pool + (N : Node_Id; Val : Node_Id) is + begin + pragma Assert (False + or else NT (N).Nkind = N_Compilation_Unit_Aux); + Set_Node3 (N, Val); -- semantic field, no parent set + end Set_Default_Storage_Pool; + procedure Set_Default_Name (N : Node_Id; Val : Node_Id) is begin |