aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_disp.ads
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2009-07-23 09:27:18 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2009-07-23 11:27:18 +0200
commita50790d1cad989184d0b77e20c60bf38de3c08a4 (patch)
tree1d1960c9c88b3c37e8c4daf3cfb7506f04d68771 /gcc/ada/exp_disp.ads
parent7205254be85f07852b41fa0a92f6667a4ecaca8c (diff)
downloadgcc-a50790d1cad989184d0b77e20c60bf38de3c08a4.zip
gcc-a50790d1cad989184d0b77e20c60bf38de3c08a4.tar.gz
gcc-a50790d1cad989184d0b77e20c60bf38de3c08a4.tar.bz2
sinfo.ads (Is_Scil_Node, [...]): Add missing documentation.
2009-07-23 Javier Miranda <miranda@adacore.com> * sinfo.ads (Is_Scil_Node, Scil_Nkind, Scil_Related_Node, Scil_Target_Prim, N_Has_Entity): Add missing documentation. * exp_disp.ads (Scil_Node_Kind): Ditto. * exp_disp.adb (Make_DT, Make_Tags): Ditto. * exp_ch3.adb (Build_Init_Procedure): Ditto. From-SVN: r149982
Diffstat (limited to 'gcc/ada/exp_disp.ads')
-rw-r--r--gcc/ada/exp_disp.ads19
1 files changed, 18 insertions, 1 deletions
diff --git a/gcc/ada/exp_disp.ads b/gcc/ada/exp_disp.ads
index 05609c3..e02cca7 100644
--- a/gcc/ada/exp_disp.ads
+++ b/gcc/ada/exp_disp.ads
@@ -34,7 +34,24 @@ package Exp_Disp is
-- SCIL Node Type Definition --
-------------------------------
- -- Comment required! ??? What is this type???
+ -- SCIL nodes are a special kind of nodes added to the tree when the
+ -- CodePeer mode is active. They are stored in the tree as special
+ -- N_Null_Statement nodes that have extra attributes. The information
+ -- available through these extra attributes relies on the kind of SCIL
+ -- node. The SCIL node kind is stored in the Scil_Nkind attribute of
+ -- the N_Null_Statement node. The kind of SCIL nodes generated by the
+ -- frontend are the following:
+
+ -- IP_Tag_Init: Scil node of tag component initialization.
+
+ -- Dispatching_Call: Scil node of dispatching call. Used by the
+ -- CodePeer backend to locate nodes associated with dispatching
+ -- calls.
+
+ -- Dispatching_Table_Object_Init: Scil node of object declaration
+ -- containing a dispatch table.
+
+ -- Dispatching_Table_Tag_Init: Scil node of tag initialization.
type Scil_Node_Kind is
(Unused,