Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/exp_ch11.ads @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
4 -- -- | 4 -- -- |
5 -- E X P _ C H 1 1 -- | 5 -- E X P _ C H 1 1 -- |
6 -- -- | 6 -- -- |
7 -- S p e c -- | 7 -- S p e c -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 1992-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- |
10 -- -- | 10 -- -- |
11 -- GNAT is free software; you can redistribute it and/or modify it under -- | 11 -- GNAT is free software; you can redistribute it and/or modify it under -- |
12 -- terms of the GNU General Public License as published by the Free Soft- -- | 12 -- terms of the GNU General Public License as published by the Free Soft- -- |
13 -- ware Foundation; either version 3, or (at your option) any later ver- -- | 13 -- ware Foundation; either version 3, or (at your option) any later ver- -- |
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- | 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- |
68 -- This function is provided for use by the back end in conjunction with | 68 -- This function is provided for use by the back end in conjunction with |
69 -- generation of Local_Raise calls when an exception raise is converted to | 69 -- generation of Local_Raise calls when an exception raise is converted to |
70 -- a goto statement. If Local_Raise is defined, its entity is returned, | 70 -- a goto statement. If Local_Raise is defined, its entity is returned, |
71 -- if not, Empty is returned (in which case the call is silently skipped). | 71 -- if not, Empty is returned (in which case the call is silently skipped). |
72 | 72 |
73 -- WARNING: There is a matching C declaration of this subprogram in fe.h | |
74 | |
73 function Get_RT_Exception_Entity (R : RT_Exception_Code) return Entity_Id; | 75 function Get_RT_Exception_Entity (R : RT_Exception_Code) return Entity_Id; |
74 -- This function is provided for use by the back end in conjunction with | 76 -- This function is provided for use by the back end in conjunction with |
75 -- generation of Local_Raise calls when an exception raise is converted to | 77 -- generation of Local_Raise calls when an exception raise is converted to |
76 -- a goto statement. The argument is the reason code which would be used | 78 -- a goto statement. The argument is the reason code which would be used |
77 -- to determine which Rcheck_nn procedure to call. The returned result is | 79 -- to determine which Rcheck_nn procedure to call. The returned result is |
78 -- the exception entity to be passed to Local_Raise. | 80 -- the exception entity to be passed to Local_Raise. |
79 | 81 |
82 -- WARNING: There is a matching C declaration of this subprogram in fe.h | |
83 | |
80 procedure Get_RT_Exception_Name (Code : RT_Exception_Code); | 84 procedure Get_RT_Exception_Name (Code : RT_Exception_Code); |
81 -- This procedure is provided for use by the back end to obtain the name of | 85 -- This procedure is provided for use by the back end to obtain the name of |
82 -- the Rcheck procedure for Code. The name is appended to Namet.Name_Buffer | 86 -- the Rcheck procedure for Code. The name is appended to Namet.Name_Buffer |
83 -- without the __gnat_rcheck_ prefix. | 87 -- without the __gnat_rcheck_ prefix. |
88 | |
89 -- WARNING: There is a matching C declaration of this subprogram in fe.h | |
84 | 90 |
85 procedure Possible_Local_Raise (N : Node_Id; E : Entity_Id); | 91 procedure Possible_Local_Raise (N : Node_Id; E : Entity_Id); |
86 -- This procedure is called whenever node N might cause the back end | 92 -- This procedure is called whenever node N might cause the back end |
87 -- to generate a local raise for a local Constraint/Program/Storage_Error | 93 -- to generate a local raise for a local Constraint/Program/Storage_Error |
88 -- exception. It deals with generating a warning if there is no local | 94 -- exception. It deals with generating a warning if there is no local |
93 procedure Warn_If_No_Local_Raise (N : Node_Id); | 99 procedure Warn_If_No_Local_Raise (N : Node_Id); |
94 -- Called for an exception handler that is not the target of a local raise. | 100 -- Called for an exception handler that is not the target of a local raise. |
95 -- Issues warning if No_Exception_Propagation restriction is set. N is the | 101 -- Issues warning if No_Exception_Propagation restriction is set. N is the |
96 -- node for the handler. | 102 -- node for the handler. |
97 | 103 |
104 -- WARNING: There is a matching C declaration of this subprogram in fe.h | |
105 | |
98 end Exp_Ch11; | 106 end Exp_Ch11; |