summaryrefslogtreecommitdiff
path: root/gcc/ada/sinfo.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sinfo.adb')
-rw-r--r--gcc/ada/sinfo.adb16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ada/sinfo.adb b/gcc/ada/sinfo.adb
index 5ea25db3ee5..9738101d86c 100644
--- a/gcc/ada/sinfo.adb
+++ b/gcc/ada/sinfo.adb
@@ -1752,6 +1752,14 @@ package body Sinfo is
return Uint3 (N);
end Intval;
+ function Is_Abort_Block
+ (N : Node_Id) return Boolean is
+ begin
+ pragma Assert (False
+ or else NT (N).Nkind = N_Block_Statement);
+ return Flag4 (N);
+ end Is_Abort_Block;
+
function Is_Accessibility_Actual
(N : Node_Id) return Boolean is
begin
@@ -5015,6 +5023,14 @@ package body Sinfo is
Set_Uint3 (N, Val);
end Set_Intval;
+ procedure Set_Is_Abort_Block
+ (N : Node_Id; Val : Boolean := True) is
+ begin
+ pragma Assert (False
+ or else NT (N).Nkind = N_Block_Statement);
+ Set_Flag4 (N, Val);
+ end Set_Is_Abort_Block;
+
procedure Set_Is_Accessibility_Actual
(N : Node_Id; Val : Boolean := True) is
begin