Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/exp_atag.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 _ A T A G -- | 5 -- E X P _ A T A G -- |
6 -- -- | 6 -- -- |
7 -- S p e c -- | 7 -- S p e c -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 2006-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 2006-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- -- |
107 -- Build code that copies from Typ's parent the dispatch table slots of | 107 -- Build code that copies from Typ's parent the dispatch table slots of |
108 -- inherited primitives and updates slots of overridden primitives. The | 108 -- inherited primitives and updates slots of overridden primitives. The |
109 -- generated code handles primary and secondary dispatch tables of Typ. | 109 -- generated code handles primary and secondary dispatch tables of Typ. |
110 | 110 |
111 function Build_Inherit_Predefined_Prims | 111 function Build_Inherit_Predefined_Prims |
112 (Loc : Source_Ptr; | 112 (Loc : Source_Ptr; |
113 Old_Tag_Node : Node_Id; | 113 Old_Tag_Node : Node_Id; |
114 New_Tag_Node : Node_Id) return Node_Id; | 114 New_Tag_Node : Node_Id; |
115 Num_Predef_Prims : Int) return Node_Id; | |
115 -- Build code that inherits the predefined primitives of the parent. | 116 -- Build code that inherits the predefined primitives of the parent. |
116 -- | 117 -- |
117 -- Generates: Predefined_DT (New_T).D (All_Predefined_Prims) := | 118 -- Generates: Predefined_DT (New_T).D (All_Predefined_Prims) := |
118 -- Predefined_DT (Old_T).D (All_Predefined_Prims); | 119 -- Predefined_DT (Old_T).D (All_Predefined_Prims); |
119 -- | 120 -- |